summaryrefslogtreecommitdiffstats
path: root/extra/pptp/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pptp/Pkgfile')
-rw-r--r--extra/pptp/Pkgfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/pptp/Pkgfile b/extra/pptp/Pkgfile
new file mode 100644
index 000000000..5c77f3041
--- /dev/null
+++ b/extra/pptp/Pkgfile
@@ -0,0 +1,18 @@
+# Description: Un client vpn protocole point-a-point
+# URL: http://pptpclient.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: guy_
+# Depends on: ppp
+
+name=pptp
+version=1.7.2
+release=1
+source=(http://downloads.sourceforge.net/sourceforge/pptpclient/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ sed -i 's|/usr||' Makefile
+ sed -i 's|/bin/ip|/sbin/ip|g' routing.c
+ make
+ make DESTDIR=$PKG install
+}