26 lines
935 B
Bash
26 lines
935 B
Bash
# Template file for 'NetworkManager-pptp'
|
|
pkgname=NetworkManager-pptp
|
|
version=1.2.8
|
|
revision=6
|
|
build_style=gnu-configure
|
|
configure_args="--without-libnm-glib"
|
|
hostmakedepends="pkg-config intltool glib-devel"
|
|
makedepends="gtk+3-devel libglib-devel libnma-devel libsecret-devel
|
|
NetworkManager-devel ppp-devel"
|
|
depends="pptpclient"
|
|
short_desc="NetworkManager VPN plugin for pptp"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://wiki.gnome.org/Projects/NetworkManager"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=f8e35e4a9a76312975c317cd315e5e9bd23bba2b5c31c3259c8c150583dc1953
|
|
|
|
do_configure() {
|
|
PPP_VERSION=$(sed -n '/VERSION/s/.*"\(.*\)".*/\1/p' ${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
|
|
}
|