wok-stable annotate rp-pppoe/receipt @ rev 5076
Up: bluez; add more bluetooth tools
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Mar 12 12:25:28 2010 +0000 (2010-03-12) |
parents | 01153cfa8044 |
children | e30d1487cb38 |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rp-pppoe" |
pankso@2010 | 4 VERSION="3.10" |
pankso@203 | 5 CATEGORY="network" |
pankso@8 | 6 SHORT_DESC="Tools to configure a PPPOE network connection." |
pankso@8 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@8 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@167 | 9 WEB_SITE="http://www.roaringpenguin.com/products/pppoe" |
pankso@8 | 10 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL" |
jozee@4972 | 11 TAGS="network pppoe" |
pankso@8 | 12 |
pankso@8 | 13 # Rules to configure and make the package. |
pankso@8 | 14 compile_rules() |
pankso@8 | 15 { |
pankso@8 | 16 cd $src/src |
pankso@8 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@2618 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pankso@8 | 19 make |
pankso@8 | 20 } |
pankso@8 | 21 |
pankso@8 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 23 genpkg_rules() |
pankso@8 | 24 { |
pankso@8 | 25 mkdir -p $fs/usr/sbin |
pankso@8 | 26 cp -a $src/src/pppoe $fs/usr/sbin |
pankso@8 | 27 cp -a $src/src/pppoe-server $fs/usr/sbin |
pankso@8 | 28 cp -a $src/src/pppoe-relay $fs/usr/sbin |
pankso@8 | 29 cp -a $src/src/pppoe-sniff $fs/usr/sbin |
pankso@8 | 30 |
pascal@2553 | 31 # |
pascal@2553 | 32 # BUG |
pascal@2553 | 33 #cp $src/scripts/pppoe-setup $fs/usr/sbin |
pascal@2553 | 34 cp stuff/pppoe-setup $fs/usr/sbin |
pascal@2553 | 35 |
pankso@8 | 36 # Scripts to /usr/sbin. |
pankso@8 | 37 # |
pankso@8 | 38 cp $src/scripts/pppoe-connect $fs/usr/sbin |
pankso@8 | 39 cp $src/scripts/pppoe-start $fs/usr/sbin |
pankso@8 | 40 cp $src/scripts/pppoe-status $fs/usr/sbin |
pankso@8 | 41 cp $src/scripts/pppoe-stop $fs/usr/sbin |
pascal@1738 | 42 sed -i 's|/usr/bin/id|id|' $fs/usr/sbin/pppoe-connect \ |
pascal@1738 | 43 $fs/usr/sbin/pppoe-setup $fs/usr/sbin/pppoe-start |
pankso@8 | 44 # Config |
pankso@8 | 45 mkdir -p $fs/etc/ppp/plugins |
pankso@8 | 46 cp $src/configs/pppoe.conf $fs/etc/ppp |
pankso@8 | 47 cp $src/configs/firewall-standalone $fs/etc/ppp |
pankso@8 | 48 cp $src/configs/firewall-masq $fs/etc/ppp |
pankso@8 | 49 cp $src/configs/pppoe-server-options $fs/etc/ppp |
pankso@8 | 50 echo "# Directory created by rp-pppoe for kernel-mode plugin" > \ |
pankso@8 | 51 $fs/etc/ppp/plugins/README |
pankso@2618 | 52 |
pankso@2618 | 53 # Fix permissions on all scripts |
pankso@2618 | 54 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 55 } |