summaryrefslogtreecommitdiffstats
path: root/extra/pptp/Pkgfile
blob: faa53c06b5168efc14b7d6e348d26690e3be8143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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:

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
}