wok annotate wvdial/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents e3079653b462
children
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"
pascal@24976 11 WGET_URL="http://repository.timesys.com/buildsources/w/wvdial/wvdial-$VERSION/$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 }