diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2017-11-22 08:13:07 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2017-11-22 08:17:54 +0000 |
commit | 3ba75a44029f0be6bec64c664ebc922143976d43 (patch) | |
tree | 1b00c3865e05ef2cb2336c673c26773387c32f42 /community/coturn/APKBUILD | |
parent | f7c8b3472ed9eacba743da67006cb625381f59b7 (diff) | |
download | aports-3ba75a44029f0be6bec64c664ebc922143976d43.tar.bz2 aports-3ba75a44029f0be6bec64c664ebc922143976d43.tar.xz |
testing/coturn: move to community
run testsuites
Diffstat (limited to 'community/coturn/APKBUILD')
-rw-r--r-- | community/coturn/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/coturn/APKBUILD b/community/coturn/APKBUILD new file mode 100644 index 0000000000..c1215da5e8 --- /dev/null +++ b/community/coturn/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org> +# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org> +pkgname=coturn +pkgver=4.5.0.6 +pkgrel=2 +pkgdesc="Free open source implementation of TURN and STUN Server" +url="https://github.com/coturn/coturn" +arch="all" +license="BSD-3-Clause" +depends="" +depends_dev="" +makedepends="$depends_dev libressl-dev libevent-dev linux-headers sqlite-dev" +pkgusers="$pkgname" +pkggroups="$pkgname" +install="$pkgname.pre-install" +subpackages="$pkgname-dev $pkgname-doc" +source="coturn-$pkgver.tar.gz::https://github.com/coturn/coturn/archive/$pkgver.tar.gz + turnserver.initd + " +builddir="$srcdir/coturn-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-rpath \ + --sysconfdir=/etc/$pkgname \ + --turndbdir=/var/lib/$pkgname + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + install -Dm755 "$srcdir"/turnserver.initd \ + "$pkgdir"/etc/init.d/turnserver +} + +sha512sums="4ad7d482af675033d050258e2af04b813561414d4ba926cfd336c6548200dbf1a90f9511983b8cad20713c7edff2a424c9d6b11d401717794e3d1af6b7ed9208 coturn-4.5.0.6.tar.gz +e686dc752618b2da2f6127ab11c49767bfcf228edf458cefe2853093baa845adb2b3159e850db1721e7474c4938fb237dd12bdfd7fd4db2ee73fbd0cb19af17d turnserver.initd" |