wok-current view wvdial/receipt @ rev 24830

busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author Hans-G?nter Theisgen
date Thu Mar 24 06:49:50 2022 +0100 (2022-03-24)
parents 20661c276bcf
children 1805f71c5d9f
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://wvstreams.googlecode.com/files/$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 }