wok-6.x view wvdial/receipt @ rev 25192

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