wok view wvdial/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents d71ba04aa9f5
children 6135577f4d08
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="http://wvstreams.googlecode.com/"
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 }