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