void-packages/srcpkgs/coturn/template
2017-12-13 14:25:32 -05:00

32 lines
935 B
Bash

# Template file for 'coturn'
pkgname=coturn
version=4.5.0.7
revision=1
build_style=gnu-configure
conf_files="/etc/turnserver.conf"
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"
checksum=6a4e802e4e7a8b7aeb76f0c4a4153da64615eac9db7c320b599fae86c46183ae
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/282547640"
system_accounts="_coturn"
post_install() {
vlicense LICENSE
vsv coturnserver
vsconf examples/etc/turnserver.conf
}
coturn-devel_package() {
short_desc="${short_desc} - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/include
}
}