milis/talimatname/genel/ppp/talimat

25 lines
526 B
Plaintext
Raw Normal View History

2017-02-09 15:10:12 +01:00
# Description: dialup ağ yapılandırması için noktadan noktaya arkaplan çalışanı
2016-02-24 01:27:23 +01:00
# URL: http://samba.org/ppp
2017-02-09 15:10:12 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: libpcap
name=ppp
version=2.4.5
release=1
2017-02-09 15:10:12 +01:00
source=(http://samba.org/ftp/$name/$name-$version.tar.gz
pppd)
2016-02-24 01:27:23 +01:00
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/
}