void-packages/srcpkgs/xl2tpd/template
2019-04-17 17:28:48 -03:00

26 lines
862 B
Bash

# Template file for 'xl2tpd'
pkgname=xl2tpd
version=1.3.14
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="KERNELSRC=${XBPS_CROSS_BASE}/usr"
make_install_args="SBINDIR=\$(BINDIR)"
makedepends="libpcap-devel"
short_desc="Open source implementation of the Layer 2 Tunnelling Protocol"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.xelerance.com/services/software/xl2tpd/"
#changelog="https://github.com/xelerance/xl2tpd/blob/master/CHANGES"
distfiles="https://github.com/xelerance/xl2tpd/archive/v${version}.tar.gz"
checksum=ff5a0806fecc58c7b9cbc625117a4521c0546522a5f5951ffb6eebdab998610f
conf_files="
/etc/xl2tpd/xl2tpd.conf
/etc/ppp/options.l2tp"
post_install() {
vsv xl2tpd
vinstall examples/xl2tpd.conf 644 etc/xl2tpd
vinstall examples/ppp-options.xl2tpd 644 etc/ppp options.l2tp
}