parent
c23b855810
commit
be2568aee6
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'coturn'
|
# Template file for 'coturn'
|
||||||
pkgname=coturn
|
pkgname=coturn
|
||||||
version=4.5.0.8
|
version=4.5.1.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
conf_files="/etc/turnserver.conf"
|
conf_files="/etc/turnserver.conf"
|
||||||
makedepends="libressl-devel libevent-devel hiredis-devel sqlite-devel
|
makedepends="libressl-devel libevent-devel hiredis-devel sqlite-devel
|
||||||
|
@ -11,12 +11,22 @@ maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/coturn/coturn"
|
homepage="https://github.com/coturn/coturn"
|
||||||
distfiles="https://github.com/coturn/coturn/archive/${version}.tar.gz"
|
distfiles="https://github.com/coturn/coturn/archive/${version}.tar.gz"
|
||||||
checksum=330c4dc55eef8d5f5d918a68122899395f2fa63821bc5493e1e2971355857e20
|
checksum=9cf6b19ef37104801c412963bc7a6256d43e1016f527aef240a6a872e7c2d227
|
||||||
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/282547640"
|
|
||||||
|
pre_build() {
|
||||||
|
# configure script does not like /usr when cross-building
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
LOCALSTATEDIR=/var ./configure --prefix=/tmp --confdir=/etc
|
||||||
|
sed -i 's:\${MANPREFIX}:/tmp/share:' Makefile
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
system_accounts="_coturn"
|
system_accounts="_coturn"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
mv ${DESTDIR}/tmp ${DESTDIR}/usr
|
||||||
|
fi
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vsv coturnserver
|
vsv coturnserver
|
||||||
vsconf examples/etc/turnserver.conf
|
vsconf examples/etc/turnserver.conf
|
||||||
|
|
Loading…
Reference in New Issue