wok-stable annotate rp-pppoe/receipt @ rev 9573
Up: lilo to 23.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 23:54:29 2011 +0000 (2011-04-11) |
parents | 7b74d9bf8919 |
children |
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" |
gokhlayeh@8167 | 8 BUILD_DEPENDS="ppp" |
pankso@8 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@167 | 10 WEB_SITE="http://www.roaringpenguin.com/products/pppoe" |
pankso@8 | 11 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL" |
jozee@4972 | 12 TAGS="network pppoe" |
pankso@8 | 13 |
pankso@8 | 14 # Rules to configure and make the package. |
pankso@8 | 15 compile_rules() |
pankso@8 | 16 { |
pankso@8 | 17 cd $src/src |
pankso@8 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
jozee@5101 | 19 --mandir=/usr/share/man \ |
jozee@5101 | 20 $CONFIGURE_ARGS && |
jozee@5101 | 21 make && |
jozee@5101 | 22 make DESTDIR=$PWD/../_pkg install |
pankso@8 | 23 } |
pankso@8 | 24 |
pankso@8 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 26 genpkg_rules() |
pankso@8 | 27 { |
jozee@5101 | 28 mkdir -p $fs/usr |
pankso@8 | 29 |
jozee@5101 | 30 cp -a $_pkg/etc $fs |
jozee@5101 | 31 cp -a $_pkg/usr/sbin $fs/usr |
jozee@5101 | 32 |
pankso@2618 | 33 # Fix permissions on all scripts |
pankso@2618 | 34 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 35 } |