wok view wvdial/receipt @ rev 5090

Up: Wvdial;build-depends on wvstreams; improve receipt
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 15 14:32:48 2010 +0000 (2010-03-15)
parents 4897058add72
children 9cc1cbd5e30b
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"
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure &&
19 make &&
20 make prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
28 cp -a $_pkg/etc $fs
29 }
31 post_remove()
32 {
33 rm -rf /etc/ppp/peers/wvdial
34 }