void-packages/srcpkgs/coturn/template

29 lines
888 B
Bash

# Template file for 'coturn'
pkgname=coturn
version=4.5.0.6
revision=1
build_style=gnu-configure
# no need for conf_files, /etc/turnserver.conf.default is an example
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=5ad976e142daf392351f86623b217be7ca91322105e0500c379a9dcdbbc466e8
nocross="https://travis-ci.org/Vaelatern/void-packages/jobs/282547640"
post_install() {
vlicense LICENSE
}
coturn-devel_package() {
short_desc="${short_desc} - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/include
}
}