aboutsummaryrefslogtreecommitdiffstats
path: root/main/libshairport
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-01-07 23:06:50 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2013-01-07 23:12:43 +0100
commitf9d6e74ab13741f91ede4875571b2ec75f1f5a15 (patch)
tree8126fed42150e027f58ac2087be36c0754255f81 /main/libshairport
parent3348f27438d8520bbc8d8acd8b748de6ea828989 (diff)
downloadaports-f9d6e74ab13741f91ede4875571b2ec75f1f5a15.tar.bz2
aports-f9d6e74ab13741f91ede4875571b2ec75f1f5a15.tar.xz
testing/libshairport: move to main
Diffstat (limited to 'main/libshairport')
-rw-r--r--main/libshairport/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/libshairport/APKBUILD b/main/libshairport/APKBUILD
new file mode 100644
index 0000000000..201afdd282
--- /dev/null
+++ b/main/libshairport/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=libshairport
+pkgver=1.2.0.20310
+_realver=1.2.0.20310_lib
+pkgrel=0
+pkgdesc="AirPort Express emulator"
+url="https://github.com/amejia1/libshairport"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="avahi-dev libao-dev openssl-dev"
+makedepends="$depends_dev autoconf automake libtool"
+install=""
+subpackages="$pkgname-dev"
+source="http://mirrors.xbmc.org/build-deps/darwin-libs/libshairport-$_realver.tar.gz"
+
+_builddir="$srcdir"/libshairport-$_realver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ autoreconf -vif
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="b009e0550c3cf54d740e92a5f47821e1 libshairport-1.2.0.20310_lib.tar.gz"