diff options
Diffstat (limited to 'testing/pptpclient/APKBUILD')
-rw-r--r-- | testing/pptpclient/APKBUILD | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/testing/pptpclient/APKBUILD b/testing/pptpclient/APKBUILD index cfa0fe2d09..6be631a2a1 100644 --- a/testing/pptpclient/APKBUILD +++ b/testing/pptpclient/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Mikhail Ivko <ivko.mv@gmail.com> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pptpclient pkgver=1.9.0 -pkgrel=2 +pkgrel=3 pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." url="http://pptpclient.sourceforge.net/" arch="all" @@ -10,20 +10,18 @@ license="GPL" depends="ppp-daemon iproute2" makedepends="perl-dev" subpackages="$pkgname-doc" -options="!check" source="http://downloads.sourceforge.net/sourceforge/$pkgname/pptp-$pkgver.tar.gz pptpclient-musl.patch" -prepare() { +builddir="$srcdir"/pptp-$pkgver +build() { cd "$srcdir"/pptp-$pkgver - patch -p1 -i "$srcdir"/pptpclient-musl.patch || return 1 - sed -i '/CFLAGS/d' Makefile - sed -i 's|\/bin\/ip|\/sbin\/ip|g' Makefile + make IP=/sbin/ip } -build() { - cd "$srcdir"/pptp-$pkgver - make || return 1 +check() { + cd "$builddir" + ./pptp --version } package() { |