milis/talimatname/genel/ppp/talimat

25 lines
526 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: dialup ağ yapılandırması için noktadan noktaya arkaplan çalışanı
# URL: http://samba.org/ppp
# Packager: milisarge
# Depends 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/
}