aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pptpclient/APKBUILD
blob: 6be631a2a1e8f04e07f1052141aaeb1e62b36632 (plain)
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
# Contributor: Mikhail Ivko <ivko.mv@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pptpclient
pkgver=1.9.0
pkgrel=3
pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
url="http://pptpclient.sourceforge.net/"
arch="all"
license="GPL"
depends="ppp-daemon iproute2"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/pptp-$pkgver.tar.gz
	pptpclient-musl.patch"

builddir="$srcdir"/pptp-$pkgver
build() {
	cd "$srcdir"/pptp-$pkgver
	make IP=/sbin/ip
}

check() {
	cd "$builddir"
	./pptp --version
}

package() {
	cd "$srcdir"/pptp-$pkgver
	make DESTDIR="$pkgdir" install
}
sha512sums="2eefa1cdb45f4fbd2b83fff4d199f2d3868add2577d561061ac692f8bc248d648272f04e5f37158c6c67e4a3c44183eaca4aec4c84745f9a4e4123c35687f814  pptp-1.9.0.tar.gz
22ee1490fe88e1a993edb9379fefa0ce195ab52f18a064e40d88bb536330c777ace773314989b20044d358c1edfc59085bcea5e953c1f9171d6d95dac614638b  pptpclient-musl.patch"