wok-6.x view wvdial/receipt @ rev 23875
Up alpine (2.23), ansible (2.9.10), wordpress (5.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 27 16:47:12 2020 +0000 (2020-06-27) |
parents | 6135577f4d08 |
children | e3079653b462 |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure &&
22 make -j1 &&
23 make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $install/usr/bin/wvdial* $fs/usr/bin
31 cp -a $install/etc $fs
32 }
34 post_remove()
35 {
36 rm -rf /etc/ppp/peers/wvdial
37 }