wok-current view wvdial/receipt @ rev 20679

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 12:26:47 2019 +0100 (2019-01-26)
parents 2a21689b0af7
children 20661c276bcf
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://code.google.com/archive/p/wvstreams/"
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 }