void-packages/srcpkgs/fastd/template

28 lines
853 B
Bash
Raw Normal View History

2015-01-27 17:27:41 +01:00
# Template file for 'fastd'
pkgname=fastd
version=16
2015-05-06 11:51:48 +02:00
revision=6
2015-01-27 17:27:41 +01: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"
maintainer="Enno Boland <eb@s01.de>"
license="BSD"
homepage="https://projects.universe-factory.net/projects/fastd"
distfiles="http://git.universe-factory.net/fastd/snapshot/fastd-${version}.tar"
checksum=156b64c8f1acd5e8e42abec069e0ad4caa8c01d9fcd374cb6b494c75268ee046
configure_args="ENABLE_LTO=ON"
conf_files="
/etc/fastd/secret.conf
2015-02-21 20:18:43 +01:00
/etc/fastd/fastd.conf"
2015-02-21 23:57:06 +01:00
make_dirs="/etc/fastd/peers 755 root root"
2015-05-06 11:51:48 +02:00
CFLAGS="-I$XBPS_CROSS_BASE/usr/include/sodium"
post_install() {
2015-02-21 23:57:06 +01:00
vmkdir etc/fastd
vinstall ${FILESDIR}/fastd.conf 644 etc/fastd
vinstall ${FILESDIR}/secret.conf 600 etc/fastd
vsv fastd
2015-01-27 18:13:22 +01:00
vman doc/fastd.1
}