wok-current annotate rp-pppoe/receipt @ rev 16212
weston: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 31 12:57:26 2014 +0000 (2014-03-31) |
parents | 3b4e4318134e |
children | c9e270dd464f |
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@16194 | 13 HOST_ARCH="i486" |
pankso@8 | 14 |
pascal@15593 | 15 BUILD_DEPENDS="ppp" |
pascal@15593 | 16 |
pankso@8 | 17 # Rules to configure and make the package. |
pankso@8 | 18 compile_rules() |
pankso@8 | 19 { |
pankso@8 | 20 cd $src/src |
pankso@16194 | 21 ./configure \ |
pankso@16194 | 22 --prefix=/usr \ |
pankso@16194 | 23 $CONFIGURE_ARGS && |
jozee@5101 | 24 make && |
pascal@15593 | 25 make DESTDIR=$DESTDIR install |
pankso@8 | 26 } |
pankso@8 | 27 |
pankso@8 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 29 genpkg_rules() |
pankso@8 | 30 { |
jozee@5101 | 31 mkdir -p $fs/usr |
pankso@8 | 32 |
pascal@15593 | 33 cp -a $install/etc $fs |
pascal@15593 | 34 cp -a $install/usr/sbin $fs/usr |
jozee@5101 | 35 |
pankso@2618 | 36 # Fix permissions on all scripts |
pankso@2618 | 37 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 38 } |