wok-6.x annotate rp-pppoe/receipt @ rev 5881
tazbb: fix date overflow
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 21 09:48:32 2010 +0200 (2010-07-21) |
parents | cac7f1b3946f |
children | d5e61d7ac540 |
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 \ |
jozee@5101 | 18 --mandir=/usr/share/man \ |
jozee@5101 | 19 $CONFIGURE_ARGS && |
jozee@5101 | 20 make && |
jozee@5101 | 21 make DESTDIR=$PWD/../_pkg install |
pankso@8 | 22 } |
pankso@8 | 23 |
pankso@8 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 25 genpkg_rules() |
pankso@8 | 26 { |
jozee@5101 | 27 mkdir -p $fs/usr |
pankso@8 | 28 |
jozee@5101 | 29 cp -a $_pkg/etc $fs |
jozee@5101 | 30 cp -a $_pkg/usr/sbin $fs/usr |
jozee@5101 | 31 |
pankso@2618 | 32 # Fix permissions on all scripts |
pankso@2618 | 33 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 34 } |