wok-current annotate rp-pppoe/receipt @ rev 23994
linld: no initrd fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 15 08:41:50 2020 +0000 (2020-12-15) |
parents | 67380acb9c14 |
children | ee53899c6189 |
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 |
pankso@8 | 19 # Rules to configure and make the package. |
pankso@8 | 20 compile_rules() |
pankso@8 | 21 { |
pankso@8 | 22 cd $src/src |
Hans-G?nter@21847 | 23 ./configure \ |
Hans-G?nter@21847 | 24 --prefix=/usr \ |
pankso@16194 | 25 $CONFIGURE_ARGS && |
jozee@5101 | 26 make && |
pascal@15593 | 27 make DESTDIR=$DESTDIR install |
pankso@8 | 28 } |
pankso@8 | 29 |
pankso@8 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 31 genpkg_rules() |
pankso@8 | 32 { |
jozee@5101 | 33 mkdir -p $fs/usr |
pankso@8 | 34 |
Hans-G?nter@21847 | 35 cp -a $install/etc $fs |
Hans-G?nter@21847 | 36 cp -a $install/usr/sbin $fs/usr |
jozee@5101 | 37 |
pankso@2618 | 38 # Fix permissions on all scripts |
pankso@2618 | 39 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 40 } |