2006-02-23 15:26:10 +00:00
|
|
|
# Description: A daemon which implements the PPP protocol for internetworking over dialup lines
|
|
|
|
# URL: http://www.samba.org/ppp/
|
2007-01-23 17:25:18 +00:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: zlib, openssl
|
|
|
|
|
|
|
|
name=ppp
|
2006-07-02 10:07:45 +00:00
|
|
|
version=2.4.4
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2006-12-03 12:57:22 +01:00
|
|
|
source=(http://ppp.samba.org/ftp/ppp/$name-$version.tar.gz \
|
2006-07-02 10:07:45 +00:00
|
|
|
$name-nofilter.patch \
|
|
|
|
$name-makefile.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
2006-07-02 10:07:45 +00:00
|
|
|
patch -p1 < $SRC/$name-nofilter.patch
|
|
|
|
patch -p1 < $SRC/$name-makefile.patch
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
2006-02-23 15:26:10 +00:00
|
|
|
make
|
2006-07-02 10:07:45 +00:00
|
|
|
make INSTROOT=$PKG install install-etcppp
|
|
|
|
mv $PKG/usr/{share/man,man} && rm -r $PKG/usr/share
|
2006-02-23 15:26:10 +00:00
|
|
|
chmod +w -R $PKG
|
|
|
|
}
|