NetworkManager-pptp: correct pppd plugins dir
This commit is contained in:
parent
529c396a1f
commit
282c2ce19c
1 changed files with 11 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'NetworkManager-pptp'
|
||||
pkgname=NetworkManager-pptp
|
||||
version=1.2.8
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--without-libnm-glib"
|
||||
hostmakedepends="pkg-config intltool glib-devel"
|
||||
|
@ -14,3 +14,13 @@ 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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue