wok-current annotate rp-pppoe/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 0aa534391a15 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
pankso@8 | 2 |
pankso@8 | 3 PACKAGE="rp-pppoe" |
pascal@24998 | 4 VERSION="3.15" |
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" |
pascal@25562 | 13 WGET_URL="https://web.archive.org/web/20230128134207if_/https://dianne.skoll.ca/projects/rp-pppoe/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@25562 | 19 # What is the latest version available today? |
pascal@24071 | 20 current_version() |
pascal@24071 | 21 { |
pascal@24071 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24071 | 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 24 } |
pascal@24071 | 25 |
pankso@8 | 26 # Rules to configure and make the package. |
pankso@8 | 27 compile_rules() |
pankso@8 | 28 { |
pankso@8 | 29 cd $src/src |
Hans-G?nter@21847 | 30 ./configure \ |
Hans-G?nter@21847 | 31 --prefix=/usr \ |
pankso@16194 | 32 $CONFIGURE_ARGS && |
jozee@5101 | 33 make && |
pascal@15593 | 34 make DESTDIR=$DESTDIR install |
pankso@8 | 35 } |
pankso@8 | 36 |
pankso@8 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 38 genpkg_rules() |
pankso@8 | 39 { |
jozee@5101 | 40 mkdir -p $fs/usr |
pankso@8 | 41 |
Hans-G?nter@21847 | 42 cp -a $install/etc $fs |
Hans-G?nter@21847 | 43 cp -a $install/usr/sbin $fs/usr |
jozee@5101 | 44 |
pankso@2618 | 45 # Fix permissions on all scripts |
pankso@2618 | 46 chmod -R 755 $fs/usr/sbin/* |
pankso@8 | 47 } |