wok-current view rp-pppoe/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents ee53899c6189
children 64e725df93c0
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="${WEB_SITE}download/$TARBALL"
15 BUILD_DEPENDS="ppp"
17 HOST_ARCH="i486"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src/src
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
41 cp -a $install/etc $fs
42 cp -a $install/usr/sbin $fs/usr
44 # Fix permissions on all scripts
45 chmod -R 755 $fs/usr/sbin/*
46 }