aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shairplay
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-12-26 10:37:46 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-12-26 10:37:46 +0000
commita33c29faead546b31b3a09ce50875311966a99dc (patch)
tree4a0914c6dc5dfeb526f0f016af8492387c96624b /testing/shairplay
parent75441e44d9484499f81e18c324fa8ae0242957cd (diff)
downloadaports-a33c29faead546b31b3a09ce50875311966a99dc.tar.bz2
aports-a33c29faead546b31b3a09ce50875311966a99dc.tar.xz
testing/shairplay: update to latest commit of master branch, 20151215
Diffstat (limited to 'testing/shairplay')
-rw-r--r--testing/shairplay/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/shairplay/APKBUILD b/testing/shairplay/APKBUILD
new file mode 100644
index 0000000000..cb037a2318
--- /dev/null
+++ b/testing/shairplay/APKBUILD
@@ -0,0 +1,53 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=shairplay
+pkgver=20151215
+_pkgver=d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062
+pkgrel=0
+pkgdesc="Apple airplay and raop protocol server"
+url="https://github.com/juhovh/shairplay"
+arch="all"
+license="GPLv3"
+depends="avahi libao avahi-compat-libdns_sd"
+depends_dev="autoconf automake libtool libltdl libao-dev avahi-compat-libdns_sd"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/juhovh/shairplay/archive/$_pkgver.zip
+ $pkgname.confd
+ $pkgname.initd"
+_builddir="$srcdir"/$pkgname-$_pkgver
+
+build() {
+ cd "$_builddir"
+ sed -e 's/airport.key/\/etc\/shairplay\/airport.key/g' -i src/shairplay.c
+ ./autogen.sh
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc/shairplay
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 airport.key "$pkgdir"/etc/shairplay/airport.key
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm755 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname \
+ || return 1
+ install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname \
+ || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="3f8e6f065a22fba2402ed782e1011974 d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062.zip
+0efed5b1b7ade0ad43fed454ec5ab046 shairplay.confd
+a7ec56ee24efbf00753c7e0f89f4d870 shairplay.initd"
+sha256sums="07fd02fd37e96ffcb1b8a1768443beeb5e5372776f12268d9107a74f7a13d67a d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062.zip
+e1c40726a08253d5c905fef4dda1ae42595163425589e46c717f09dd736d5d27 shairplay.confd
+3278b3dc6d32db7646514680934f1327eb2910dbbf68f860fd36a2aa0cedef6b shairplay.initd"
+sha512sums="fe1d896628acd395168f76ff52a2467d8cea1e9300eca3053f2ed7d5f202b281059e1c18c86e4ef9fd716f4c8c5d3776f81b4f845b922df8776dc3b785294fe0 d8e9e32d7ee6b98f13df8ec48565c1f3da0f3062.zip
+5823ce231f49deb5fb6d80dc3dc469e14d5b9e998984aff5178626b84a50bb8dcfa47a6d035cdc286d4e1c58569c315e6985ce91c86812e84d5a518d62bce359 shairplay.confd
+5ee1fc76ad17fc61cfa138f86c35227dc12dac4bfda73efa75c88ed3e8ad28b1fa84efe2ded01739d8960581cd3243d3037e6476e840d06fe66a9d2d148f5149 shairplay.initd"