wok annotate rp-pppoe/receipt @ rev 24246
updated perl-net-pcap again (0.18 -> 0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:27:07 2022 +0100 (2022-01-02) |
parents | 3725cb6263da |
children | 0aa534391a15 |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rp-pppoe" |
Hans-G?nter@21847 | 4 VERSION="3.13" |
pankso@203 | 5 CATEGORY="network" |
Hans-G?nter@21847 | 6 SHORT_DESC="A PPP over Ethernet client (for xDSL support)." |
Hans-G?nter@21847 | 7 TAGS="network PPPoE" |
pankso@8 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 9 LICENSE="GPL2" |
Hans-G?nter@21847 | 10 WEB_SITE="https://dianne.skoll.ca/projects/rp-pppoe/" |
Hans-G?nter@21847 | 11 |
pankso@8 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21847 | 13 WGET_URL="${WEB_SITE}download/$TARBALL" |
pankso@8 | 14 |
pascal@15593 | 15 BUILD_DEPENDS="ppp" |
pascal@15593 | 16 |
Hans-G?nter@21847 | 17 HOST_ARCH="i486" |
Hans-G?nter@21847 | 18 |
pascal@24071 | 19 current_version() |
pascal@24071 | 20 { |
pascal@24071 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24071 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 23 } |
pascal@24071 | 24 |
pankso@8 | 25 # Rules to configure and make the package. |
pankso@8 | 26 compile_rules() |
pankso@8 | 27 { |
pankso@8 | 28 cd $src/src |
Hans-G?nter@21847 | 29 ./configure \ |
Hans-G?nter@21847 | 30 --prefix=/usr \ |
pankso@16194 | 31 $CONFIGURE_ARGS && |
jozee@5101 | 32 make && |
pascal@15593 | 33 make DESTDIR=$DESTDIR install |
pankso@8 | 34 } |
pankso@8 | 35 |
pankso@8 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 37 genpkg_rules() |
pankso@8 | 38 { |
jozee@5101 | 39 mkdir -p $fs/usr |
pankso@8 | 40 |
Hans-G?nter@21847 | 41 cp -a $install/etc $fs |
Hans-G?nter@21847 | 42 cp -a $install/usr/sbin $fs/usr |
jozee@5101 | 43 |
pankso@2618 | 44 # Fix permissions on all scripts |
pankso@2618 | 45 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 46 } |