aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pptpclient/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-31 14:00:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-31 14:00:09 +0000
commite864119910827fecc4cd5a51d3987598e0f9526a (patch)
tree852715afa6bf927627447bfef0a370bafdbd5704 /testing/pptpclient/APKBUILD
parentd42dbe6e44d01f401983e5a92a366cb47a7a73cc (diff)
downloadaports-e864119910827fecc4cd5a51d3987598e0f9526a.tar.bz2
aports-e864119910827fecc4cd5a51d3987598e0f9526a.tar.xz
testing/pptpclient: new aport
Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. http://pptpclient.sourceforge.net/
Diffstat (limited to 'testing/pptpclient/APKBUILD')
-rw-r--r--testing/pptpclient/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/pptpclient/APKBUILD b/testing/pptpclient/APKBUILD
new file mode 100644
index 0000000000..a5077f6ba0
--- /dev/null
+++ b/testing/pptpclient/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=pptpclient
+pkgver=1.7.2
+pkgrel=0
+pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
+url="http://pptpclient.sourceforge.net/"
+license="GPL"
+depends="ppp iproute2"
+makedepends=
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/sourceforge/$pkgname/pptp-$pkgver.tar.gz
+ pptpclient-uclibc.patch"
+
+prepare() {
+ cd "$srcdir"/pptp-$pkgver
+ patch -p1 -i "$srcdir"/pptpclient-uclibc.patch || return 1
+ sed -i '/CFLAGS/d' Makefile
+ sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' routing.c
+}
+
+build() {
+ cd "$srcdir"/pptp-$pkgver
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/pptp-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+md5sums="4c3d19286a37459a632c7128c92a9857 pptp-1.7.2.tar.gz
+34b643e4e4224e723f6a768018b46015 pptpclient-uclibc.patch"