wok annotate wvdial/receipt @ rev 24851
updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:49:19 2022 +0100 (2022-03-26) |
parents | 20661c276bcf |
children | 1805f71c5d9f |
rev | line source |
---|---|
domcox@2665 | 1 # SliTaz package receipt. |
domcox@2665 | 2 |
domcox@2665 | 3 PACKAGE="wvdial" |
jozee@5090 | 4 VERSION="1.61" |
domcox@2665 | 5 CATEGORY="network" |
domcox@2665 | 6 SHORT_DESC="makes modem-based connection to Internet" |
jozee@5090 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
jozee@5090 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20682 | 10 WEB_SITE="https://web.archive.org/web/20110504183753/http://alumnit.ca:80/wiki/index.php?page=WvDial" |
jozee@5090 | 11 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL" |
pascal@13027 | 12 TAGS="network 3G" |
domcox@2665 | 13 |
pascal@15363 | 14 DEPENDS="ppp gcc-lib-base wvstreams" |
pascal@15363 | 15 BUILD_DEPENDS="wvstreams-dev" |
pascal@15363 | 16 |
pascal@24565 | 17 # What is the latest version available today? |
pascal@24565 | 18 current_version() |
pascal@24565 | 19 { |
pascal@24565 | 20 wget -O - https://en.wikipedia.org/wiki/WvDial 2>/dev/null | \ |
pascal@24565 | 21 sed '/Stable release/!d;s|.*">||' |
pascal@24565 | 22 } |
pascal@24565 | 23 |
domcox@2665 | 24 # Rules to configure and make the package. |
domcox@2665 | 25 compile_rules() |
domcox@2665 | 26 { |
domcox@2665 | 27 cd $src |
jozee@5090 | 28 ./configure && |
pascal@9219 | 29 make -j1 && |
pascal@15363 | 30 make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install |
domcox@2665 | 31 } |
domcox@2665 | 32 |
domcox@2665 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@2665 | 34 genpkg_rules() |
domcox@2665 | 35 { |
domcox@2665 | 36 mkdir -p $fs/usr/bin |
pascal@15363 | 37 cp -a $install/usr/bin/wvdial* $fs/usr/bin |
pascal@15363 | 38 cp -a $install/etc $fs |
domcox@2665 | 39 } |
domcox@2665 | 40 |
domcox@2665 | 41 post_remove() |
domcox@2665 | 42 { |
domcox@2665 | 43 rm -rf /etc/ppp/peers/wvdial |
domcox@2665 | 44 } |