xl2tpd: add missing conf_files; use makejobs; drop unused bdep.

This commit is contained in:
Juan RP 2015-11-16 08:28:39 +01:00
parent d433599efc
commit 778c715ad5

View file

@ -1,8 +1,8 @@
# Template file for 'xl2tpd' # Template file for 'xl2tpd'
pkgname=xl2tpd pkgname=xl2tpd
version=1.3.6 version=1.3.6
revision=1 revision=2
makedepends="libpcap-devel kernel-libc-headers" makedepends="libpcap-devel"
short_desc="Open source implementation of the Layer 2 Tunnelling Protocol" short_desc="Open source implementation of the Layer 2 Tunnelling Protocol"
maintainer="Duncaen <duncaen@voidlinux.eu>" maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2" license="GPL-2"
@ -10,9 +10,13 @@ homepage="https://www.xelerance.com/services/software/xl2tpd/"
distfiles="https://github.com/xelerance/xl2tpd/archive/v${version}.tar.gz" distfiles="https://github.com/xelerance/xl2tpd/archive/v${version}.tar.gz"
checksum=49b069aa8d873e1d8f615ccc4212351e427bf681ba453fdd211256a8345bb7fb checksum=49b069aa8d873e1d8f615ccc4212351e427bf681ba453fdd211256a8345bb7fb
conf_files="
/etc/${pkgname}/${pkgname}.conf
/etc/ppp/options.l2tp"
do_build() { do_build() {
sed -i -e 's;# include <bsd/signal.h>;;' xl2tpd.c sed -i -e 's;# include <bsd/signal.h>;;' xl2tpd.c
make LDFLAGS="${LDFLAGS}" KERNELSRC="${XBPS_CROSS_BASE}/usr" make LDFLAGS="${LDFLAGS}" KERNELSRC="${XBPS_CROSS_BASE}/usr" ${makejobs}
} }
do_install() { do_install() {