summaryrefslogtreecommitdiffstats
path: root/extra/pptp/Pkgfile
blob: 954eae8933affbacce608c5b71fcd7756434e37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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|BINDIR=$(DESTDIR)/usr|BINDIR=$(DESTDIR)|' Makefile
	sed -i 's|/bin/ip|/sbin/ip|g' routing.c
	make
	make DESTDIR=$PKG install
}