aboutsummaryrefslogtreecommitdiffstats
path: root/community/networkmanager-l2tp/APKBUILD
blob: 8a49508ca8845931346ba72a96d6109a5c5b6fd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Will Sinatra <wpsinatra@gmail.com>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=networkmanager-l2tp
pkgver=1.8.6
pkgrel=3
pkgdesc="L2TP support for NetworkManager"
url="https://github.com/nm-l2tp/NetworkManager-l2tp"
license="GPL-2.0-only"
# s390x and riscv64 blocked by networkmanager
arch="all !s390x !riscv64"
makedepends="intltool python3 libnma-dev libtool automake autoconf gettext-dev
	glib-dev ppp-dev nss-dev gtk+3.0-dev libsecret-dev openssl1.1-compat-dev"
depends="ppp xl2tpd strongswan"
source="$pkgname-$pkgver.tar.gz::https://github.com/nm-l2tp/NetworkManager-l2tp/archive/$pkgver.tar.gz"
options="!check" #no check
builddir="$srcdir/NetworkManager-l2tp-$pkgver"
subpackages="$pkgname-lang"

build() {
	./autogen.sh
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib/NetworkManager \
		--with-pppd-plugin-dir=/usr/lib/pppd/2.4.7 \
		--without-libnm-glib
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a219b8d68f0ec4e02f40c673fb12e6d1ae991b167a2ac7d3fe658f3baf0417e6a09209dd5270751fd01cba355352e792353d1294a4867f4de4d3d61fc38a56ff  networkmanager-l2tp-1.8.6.tar.gz"