diff options
Diffstat (limited to 'pptp/Pkgfile')
-rw-r--r-- | pptp/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pptp/Pkgfile b/pptp/Pkgfile new file mode 100644 index 000000000..89b453b90 --- /dev/null +++ b/pptp/Pkgfile @@ -0,0 +1,20 @@ +# Description: Un client vpn protocole point-a-point +# URL: http://pptpclient.sourceforge.net/ +# Maintainer: NuTyX core team +# Packager: guy_ +# Depends on: ppp +# Run 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|BINDIR=$(DESTDIR)/usr|BINDIR=$(DESTDIR)|' Makefile + sed -i 's|/bin/ip|/sbin/ip|g' routing.c + make + make DESTDIR=$PKG install +} + |