void-packages/srcpkgs/tinc/template

23 lines
637 B
Plaintext

# Template file for 'tinc'
pkgname=tinc
version=1.0.24
revision=3
build_style=gnu-configure
build_options="systemd"
replaces="runit-void<20141013_2"
makedepends="zlib-devel lzo-devel libressl-devel"
short_desc="VPN (Virtual Private Network) daemon"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.tinc-vpn.org"
update_ignore="*pre*"
distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz"
checksum=498e58f9f39e3922030a63cf62baf4b46a40fbda8d90b23ec0f084f4a9f9b687
post_install() {
vsv tincd
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system
fi
}