summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-04-07 20:54:06 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-04-07 20:54:06 (GMT)
commitc220cb6807feec7bdc95cd2831ee5e7e3d728177 (patch)
tree8a7952d3f64e6550aee82b27f25e7039eb69fe4d
parentb7fc1ec472258c4c78841c21b76f44d2b1bbd4d4 (diff)
downloadlinhes_pkgbuild-c220cb6807feec7bdc95cd2831ee5e7e3d728177.zip
linhes_pkgbuild-c220cb6807feec7bdc95cd2831ee5e7e3d728177.tar.gz
linhes_pkgbuild-c220cb6807feec7bdc95cd2831ee5e7e3d728177.tar.bz2
libshairport: Initial inclusion; dep of XBMC 11
-rw-r--r--abs/extra/community/libshairport/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/community/libshairport/PKGBUILD b/abs/extra/community/libshairport/PKGBUILD
new file mode 100644
index 0000000..293e1cc
--- /dev/null
+++ b/abs/extra/community/libshairport/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+
+pkgname=libshairport
+_developer='amejia1'
+_version=1.2.1
+_commithash='aeb4987'
+pkgver=${_version}
+pkgrel=2
+pkgdesc="emulates an AirPort Express"
+arch=('i686' 'x86_64')
+url='https://github.com/amejia1/libshairport'
+license=('GPL')
+depends=('openssl' 'libao')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/amejia1/libshairport/tarball/$_commithash")
+sha256sums=('003c65f56123a7cb090b2d7249f0facbef668f7db6048f4b458713892a6911ca')
+options=(!libtool)
+
+_srcfolder=$_developer-$pkgname-$_commithash
+
+build() {
+ mv "$_srcfolder" "$pkgname-$pkgver"
+
+ cd "$pkgname-$pkgver"
+ autoreconf -vif
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}