Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=3df042d3aca2f654dc27a7a8d3cf94cfee95ba7c

commit 3df042d3aca2f654dc27a7a8d3cf94cfee95ba7c
Author: Slown <[email protected]>
Date:   Wed Dec 28 18:40:52 2011 +0100

libspotify-10.1.16-1-i686

* new package

diff --git a/source/lib-extra/libspotify/FrugalBuild 
b/source/lib-extra/libspotify/FrugalBuild
new file mode 100644
index 0000000..09a06e6
--- /dev/null
+++ b/source/lib-extra/libspotify/FrugalBuild
@@ -0,0 +1,31 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: Slown <[email protected]>
+
+pkgname=libspotify
+pkgver=10.1.16
+pkgrel=1
+pkgdesc="C API package allowing third party developers to write applications 
that utilize the Spotify music streaming service"
+url="http://developer.spotify.com/en/libspotify/overview";
+depends=('glibc')
+groups=('lib-extra')
+archs=('i686' 'x86_64')
+up2date="Flasttar $url | sed 's/_Linux.*//g'"
+source=(http://developer.spotify.com/download/$pkgname/$pkgname-${pkgver}-Linux-${CARCH}-release.tar.gz)
+_F_cd_path="$pkgname-Linux-$CARCH-release"
+
+if [ "$CARCH" == "i686" ]; then
+       sha1sums=(${sha1sums[@]} '1422f6cb16baebbd8d31857a3cbfb200f0995e65')
+elif [ "$CARCH" == "x86_64" ]; then
+       sha1sums=(${sha1sums[@]} '5b3b01bcb28f3dfe32a78eebfc09c6641b126837')
+fi
+
+build() {
+       Fcd
+       Fsed '/usr/local' '/usr' Makefile
+       Fsed 'ldconfig' '' Makefile
+       make prefix="$Fdestdir/usr" install || Fdie
+
+       # Install documentation
+       Fmkdir usr/share/man/man3
+       cp share/man3/* $Fdestdir/usr/share/man/man3 || Fdie
+}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to