summaryrefslogtreecommitdiffstats
path: root/ppp/Pkgfile
blob: 05e16e204d5abdeee66fefe1e4db940ed16d3211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Description: Service (Démon) permettant la gestion des ligne téléphonique pour la communication internet
# URL: http://samba.org/ppp
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libpcap
# Run on: libpcap

name=ppp
version=2.4.5
release=1
source=(http://samba.org/ftp/$name/$name-$version.tar.gz
	pppd)

build() {
	unset MAKEFLAGS
	export CFLAGS="$CFLAGS -D_GNU_SOURCE"
	cd $name-$version
	./configure --prefix=/usr 
	make
	make INSTROOT=$PKG install-etcppp
	make INSTROOT=$PKG install
	mkdir -p $PKG/etc/rc.d/init.d/
	install -m755 ../pppd $PKG/etc/rc.d/init.d/

}