2016-08-06 14:19:56 +00:00
|
|
|
# Template file for 'umurmur'
|
|
|
|
pkgname=umurmur
|
|
|
|
version=0.2.16a
|
2016-09-28 02:11:35 +00:00
|
|
|
revision=3
|
2016-08-06 14:19:56 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-shmapi --with-ssl=openssl"
|
|
|
|
conf_files="/etc/umurmur/umurmur.conf"
|
2016-08-06 15:17:51 +00:00
|
|
|
hostmakedepends="automake libtool"
|
2016-08-06 14:19:56 +00:00
|
|
|
makedepends="libconfig-devel libressl-devel protobuf-c-devel"
|
|
|
|
short_desc="Minimalistic Mumble server"
|
2016-08-06 15:17:51 +00:00
|
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
|
|
license="3-clause-BSD"
|
2016-08-06 14:19:56 +00:00
|
|
|
homepage="http://umurmur.net/"
|
|
|
|
distfiles="https://github.com/umurmur/umurmur/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=d64df8f77ceaa4951d7f2adbb2dcc173841d1e387ef4cd2082c42150a84349a5
|
|
|
|
|
2016-08-06 15:17:51 +00:00
|
|
|
system_accounts="umurmur"
|
|
|
|
umurmur_homedir="/var/lib/umurmur"
|
|
|
|
make_dirs="/var/lib/umurmur 0750 umurmur umurmur"
|
|
|
|
|
2016-08-06 14:19:56 +00:00
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
2016-08-06 15:17:51 +00:00
|
|
|
sed -i \
|
|
|
|
-e 's/# username = "";/username = "umurmur";/' \
|
|
|
|
-e 's/# groupname = "";/groupname = "umurmur";/' \
|
|
|
|
umurmur.conf.example
|
2016-08-06 14:19:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vdoc README.md
|
|
|
|
vlicense LICENSE
|
|
|
|
vinstall umurmur.conf.example 644 etc/umurmur umurmur.conf
|
2016-08-06 15:17:51 +00:00
|
|
|
vsv umurmurd
|
2016-08-06 14:19:56 +00:00
|
|
|
}
|
|
|
|
|