talimat 880 B

1234567891011121314151617181920212223242526
  1. # Tanım: C API spotify için.
  2. # URL: https://developer.spotify.com/technologies/libspotify/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: kütüphane
  6. isim=libspotify
  7. surum=12.1.51
  8. devir=1
  9. kaynak=(http://developer.spotify.com/download/libspotify/libspotify-${surum}-Linux-x86_64-release.tar.gz)
  10. derle() {
  11. cd "$SRC/$isim-$surum-Linux-x86_64-release"
  12. sed -i 's/ldconfig//' Makefile
  13. make prefix="$PKG/usr" install
  14. cp -R share "$PKG"/usr/share
  15. mkdir -p "$PKG"/usr/share/man
  16. mv "$PKG"/usr/share/man3 "$PKG"/usr/share/man/man3
  17. sed -e s:PKG_PREFIX:/usr:g \
  18. < lib/pkgconfig/libspotify.pc \
  19. > "$PKG"/usr/lib/pkgconfig/libspotify.pc
  20. install -Dm644 LICENSE licenses.xhtml "$PKG"/usr/share/doc/libspotify
  21. mkdir -p "$PKG"/usr/share/licenses/libspotify
  22. ln -s ../../doc/libspotify/LICENSE "$PKG"/usr/share/licenses/libspotify/LICENSE
  23. }