wok-current view rp-pppoe/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 0aa534391a15 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rp-pppoe"
4 VERSION="3.15"
5 CATEGORY="network"
6 SHORT_DESC="A PPP over Ethernet client (for xDSL support)."
7 TAGS="network PPPoE"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://dianne.skoll.ca/projects/rp-pppoe/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://web.archive.org/web/20230128134207if_/https://dianne.skoll.ca/projects/rp-pppoe/download/$TARBALL"
15 BUILD_DEPENDS="ppp"
17 HOST_ARCH="i486"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/src
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/etc $fs
43 cp -a $install/usr/sbin $fs/usr
45 # Fix permissions on all scripts
46 chmod -R 755 $fs/usr/sbin/*
47 }