void-packages/srcpkgs/coturn/template
2018-11-06 15:57:05 +01:00

32 lines
935 B
Bash

# Template file for 'coturn'
pkgname=coturn
version=4.5.0.8
revision=2
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="BSD-3-Clause"
homepage="https://github.com/coturn/coturn"
distfiles="https://github.com/coturn/coturn/archive/${version}.tar.gz"
checksum=330c4dc55eef8d5f5d918a68122899395f2fa63821bc5493e1e2971355857e20
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
}
}