wok-6.x view rp-pppoe/receipt @ rev 25544
merkaartor: include localised messages in package
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 12 15:58:49 2023 +0100 (20 months ago) |
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 }