wok-next diff rp-pppoe/receipt @ rev 17
Add : slitaz-mercurial-style + xfree86 font and Xvesa
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:35:16 2007 +0100 (2007-12-18) |
parents | |
children | 972322439d00 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rp-pppoe/receipt Tue Dec 18 13:35:16 2007 +0100 1.3 @@ -0,0 +1,51 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rp-pppoe" 1.7 +VERSION="3.8" 1.8 +CATEGORY="base-apps" 1.9 +SHORT_DESC="Tools to configure a PPPOE network connection." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.roaringpenguin.com/en/penguin/openSourceProducts/rpPppoe" 1.13 +WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src/src 1.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.20 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.21 + make 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/sbin 1.28 + cp -a $src/src/pppoe $fs/usr/sbin 1.29 + cp -a $src/src/pppoe-server $fs/usr/sbin 1.30 + cp -a $src/src/pppoe-relay $fs/usr/sbin 1.31 + cp -a $src/src/pppoe-sniff $fs/usr/sbin 1.32 + strip -s $fs/usr/sbin/* 1.33 + 1.34 + # Scripts to /usr/sbin. 1.35 + # 1.36 + cp $src/scripts/pppoe-connect $fs/usr/sbin 1.37 + cp $src/scripts/pppoe-start $fs/usr/sbin 1.38 + cp $src/scripts/pppoe-status $fs/usr/sbin 1.39 + cp $src/scripts/pppoe-stop $fs/usr/sbin 1.40 + # 1.41 + # BUG 1.42 + #cp $src/scripts/pppoe-setup $fs/usr/sbin 1.43 + cp stuff/pppoe-setup $fs/usr/sbin 1.44 + chmod -R 755 $fs/usr/sbin/* 1.45 + 1.46 + # Config 1.47 + mkdir -p $fs/etc/ppp/plugins 1.48 + cp $src/configs/pppoe.conf $fs/etc/ppp 1.49 + cp $src/configs/firewall-standalone $fs/etc/ppp 1.50 + cp $src/configs/firewall-masq $fs/etc/ppp 1.51 + cp $src/configs/pppoe-server-options $fs/etc/ppp 1.52 + echo "# Directory created by rp-pppoe for kernel-mode plugin" > \ 1.53 + $fs/etc/ppp/plugins/README 1.54 +}