parent
d3cedcd224
commit
832c484c66
1 changed files with 28 additions and 0 deletions
28
srcpkgs/NetworkManager-l2tp/template
Normal file
28
srcpkgs/NetworkManager-l2tp/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'NetworkManager-l2tp'
|
||||
pkgname=NetworkManager-l2tp
|
||||
version=1.8.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--runstatedir=/run"
|
||||
hostmakedepends="pkg-config intltool glib-devel"
|
||||
makedepends="gtk+3-devel glib-devel libglib-devel libsecret-devel
|
||||
network-manager-applet-devel libressl-devel nss-devel ppp-devel"
|
||||
depends="strongswan xl2tpd ppp"
|
||||
short_desc="NetworkManager VPN plugin for L2TP/IPsec"
|
||||
maintainer="Douglas Kosovic <doug@uq.edu.au>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://github.com/nm-l2tp/NetworkManager-l2tp"
|
||||
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
||||
checksum=1d80986dc88951e298446833d314bab7af0a933e736960d6b3b025e6b7faca94
|
||||
|
||||
# Automatically determine the pppd plugin dir location, but will need to
|
||||
# revbump this package whenever version of ppp package is updated.
|
||||
do_configure() {
|
||||
PPP_VERSION=$(awk '/VERSION/{print $3}' ${XBPS_CROSS_BASE}/usr/include/pppd/patchlevel.h)
|
||||
|
||||
./configure ${configure_args} --with-pppd-plugin-dir=/usr/lib/pppd/${PPP_VERSION}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mv $DESTDIR/etc/dbus-1 $DESTDIR/usr/share
|
||||
}
|
Loading…
Reference in a new issue