wok-next view wvdial/receipt @ rev 13344

Up: kmod (10)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 07 10:12:36 2012 +0200 (2012-09-07)
parents 756006d8f6ae
children 2a21689b0af7
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 DEPENDS="ppp gcc-lib-base wvstreams"
9 BUILD_DEPENDS="wvstreams-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://wvstreams.googlecode.com/"
12 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
13 TAGS="network 3G"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure &&
20 make -j1 &&
21 make -j1 prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
29 cp -a $_pkg/etc $fs
30 }
32 post_remove()
33 {
34 rm -rf /etc/ppp/peers/wvdial
35 }