void-packages/srcpkgs/coturn/template

33 lines
935 B
Bash
Raw Normal View History

2017-10-03 05:23:56 +02:00
# Template file for 'coturn'
pkgname=coturn
2017-12-13 20:25:32 +01:00
version=4.5.0.7
2017-10-03 05:23:56 +02:00
revision=1
build_style=gnu-configure
2017-12-13 20:25:32 +01:00
conf_files="/etc/turnserver.conf"
2017-10-03 05:23:56 +02:00
makedepends="libressl-devel libevent-devel hiredis-devel sqlite-devel
postgresql-libs-devel libmariadbclient-devel"
short_desc="Server Implementation of TURN and STUN"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="3-clause-BSD"
homepage="https://github.com/coturn/coturn"
distfiles="https://github.com/coturn/coturn/archive/${version}.tar.gz"
2017-12-13 20:25:32 +01:00
checksum=6a4e802e4e7a8b7aeb76f0c4a4153da64615eac9db7c320b599fae86c46183ae
2017-10-03 05:23:56 +02:00
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/282547640"
2017-12-13 20:25:32 +01:00
system_accounts="_coturn"
2017-10-03 05:23:56 +02:00
post_install() {
vlicense LICENSE
2017-12-13 20:25:32 +01:00
vsv coturnserver
vsconf examples/etc/turnserver.conf
2017-10-03 05:23:56 +02:00
}
coturn-devel_package() {
short_desc="${short_desc} - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/include
}
}