wok-current view rp-pppoe/receipt @ rev 24210
properly renamed perl-file-rsync to perl-file-rsyncp
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:55:26 2021 +0100 (2021-12-31) |
parents | 3725cb6263da |
children | 0aa534391a15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rp-pppoe"
4 VERSION="3.13"
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 }