From 64fa55c5c4bb39ef028897a3ea1def62aa2f03e9 Mon Sep 17 00:00:00 2001 From: milisbir Date: Tue, 3 Apr 2018 10:10:31 +0300 Subject: [PATCH] libspotify --- talimatname/genel/l/libspotify/talimat | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 talimatname/genel/l/libspotify/talimat diff --git a/talimatname/genel/l/libspotify/talimat b/talimatname/genel/l/libspotify/talimat new file mode 100644 index 000000000..76629cefb --- /dev/null +++ b/talimatname/genel/l/libspotify/talimat @@ -0,0 +1,25 @@ +# Tanım: C API spotify için. +# URL: https://developer.spotify.com/technologies/libspotify/ +# Paketçi: milisarge +# Gerekler: +# Grup: kütüphane + +isim=libspotify +surum=12.1.51 +devir=1 +kaynak=(http://developer.spotify.com/download/libspotify/libspotify-${surum}-Linux-x86_64-release.tar.gz) + +derle() { + cd "$SRC/$isim-$surum-Linux-x86_64-release" + sed -i 's/ldconfig//' Makefile + make prefix="$PKG/usr" install + cp -R share "$PKG"/usr/share + mkdir -p "$PKG"/usr/share/man + mv "$PKG"/usr/share/man3 "$PKG"/usr/share/man/man3 + sed -e s:PKG_PREFIX:/usr:g \ + < lib/pkgconfig/libspotify.pc \ + > "$PKG"/usr/lib/pkgconfig/libspotify.pc + install -Dm644 LICENSE licenses.xhtml "$PKG"/usr/share/doc/libspotify + mkdir -p "$PKG"/usr/share/licenses/libspotify + ln -s ../../doc/libspotify/LICENSE "$PKG"/usr/share/licenses/libspotify/LICENSE +}