core/ppp/Pkgfile

23 lines
674 B
Plaintext
Raw Normal View History

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