void-packages/srcpkgs/tinc/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

20 lines
582 B
Bash

# Template file for 'tinc'
pkgname=tinc
version=1.0.25
revision=3
build_style=gnu-configure
build_options="systemd"
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"
distfiles="${homepage}/packages/${pkgname}-${version}.tar.gz"
checksum=c5c1c554e594d77365b63222ef15f4460c0c202f9163a89a087333a779f4f133
post_install() {
vsv tincd
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/tincd@.service 644 usr/lib/systemd/system
fi
}