void-packages/srcpkgs/fastd/template

28 lines
863 B
Bash
Raw Normal View History

2015-01-27 16:27:41 +00:00
# Template file for 'fastd'
pkgname=fastd
2015-05-28 16:31:06 +00:00
version=17
revision=1
2015-01-27 16:27:41 +00:00
build_style=cmake
hostmakedepends="cmake pkg-config bison"
makedepends="libuecc-devel libsodium-devel json-c-devel libcap-devel"
short_desc="Fast and Secure Tunneling Daemon"
2015-05-28 16:31:06 +00:00
maintainer="Enno Boland <gottox@voidlinux.eu>"
2015-01-27 16:27:41 +00:00
license="BSD"
homepage="https://projects.universe-factory.net/projects/fastd"
distfiles="http://git.universe-factory.net/fastd/snapshot/fastd-${version}.tar"
2015-05-28 16:31:06 +00:00
checksum=20390fc2110929ebf37feebe1bcce68d7920a5efd42c369bd2d886c6781966dc
2015-01-27 16:27:41 +00:00
configure_args="ENABLE_LTO=ON"
conf_files="
/etc/fastd/secret.conf
2015-02-21 19:18:43 +00:00
/etc/fastd/fastd.conf"
2015-02-21 22:57:06 +00:00
make_dirs="/etc/fastd/peers 755 root root"
2015-05-06 09:51:48 +00:00
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/sodium"
post_install() {
2015-02-21 22:57:06 +00:00
vmkdir etc/fastd
vinstall ${FILESDIR}/fastd.conf 644 etc/fastd
vinstall ${FILESDIR}/secret.conf 600 etc/fastd
vsv fastd
2015-01-27 17:13:22 +00:00
vman doc/fastd.1
}