Add initial APKBUILD for shairport-sync and nqptp

This commit is contained in:
2021-12-16 13:42:50 +00:00
parent 835abdc133
commit f534bdfeb8
4 changed files with 112 additions and 0 deletions

35
nqptp/APKBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: hoellen <dev@hoellen.eu>
pkgname=nqptp
pkgver=0.1
pkgrel=0
pkgdesc="Not Quite PTP. A daemon that monitors timing data from any PTP clocks."
url="https://github.com/mikebrady/nqptp"
arch="all"
license="GPL-2.0-or-later"
makedepends="autoconf automake libtool git"
subpackages="$pkgname-openrc"
source="$pkgname.initd"
options=!check
builddir="$srcdir/$pkgname"
prepare() {
git clone $url $builddir
cd $builddir
default_prepare
autoreconf -i -f
}
build() {
./configure --prefix=/usr --localstatedir=/var
make
}
package() {
cd $builddir
make DESTDIR="$pkgdir" install
install -m 755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
sha512sums="8af548879c307a67c818377a4e18f7c6f3ad824f56c5d8d8be15598c816e2e2160cfcecde5953253deb5b3001bb2637261ef05499cb9d64a08e64c381ef82916 nqptp.initd"