wok annotate rp-pppoe/receipt @ rev 15958
Add nsd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 20:33:22 2014 +0000 (2014-02-23) |
parents | d5e61d7ac540 |
children | e6bbb8cc0677 |
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" |
pascal@15593 | 8 LICENSE="GPL2" |
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 |
pascal@15593 | 14 BUILD_DEPENDS="ppp" |
pascal@15593 | 15 |
pankso@8 | 16 # Rules to configure and make the package. |
pankso@8 | 17 compile_rules() |
pankso@8 | 18 { |
pankso@8 | 19 cd $src/src |
pankso@8 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
jozee@5101 | 21 --mandir=/usr/share/man \ |
jozee@5101 | 22 $CONFIGURE_ARGS && |
jozee@5101 | 23 make && |
pascal@15593 | 24 make DESTDIR=$DESTDIR install |
pankso@8 | 25 } |
pankso@8 | 26 |
pankso@8 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 28 genpkg_rules() |
pankso@8 | 29 { |
jozee@5101 | 30 mkdir -p $fs/usr |
pankso@8 | 31 |
pascal@15593 | 32 cp -a $install/etc $fs |
pascal@15593 | 33 cp -a $install/usr/sbin $fs/usr |
jozee@5101 | 34 |
pankso@2618 | 35 # Fix permissions on all scripts |
pankso@2618 | 36 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 37 } |