wok view wvdial/receipt @ rev 4989

fix: RAM for get-google-earth; Add TAGS
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 11:17:18 2010 +0000 (2010-02-25)
parents 5ae5611235c6
children 4897058add72
line source
1 # SliTaz package receipt.
3 PACKAGE="wvdial"
4 VERSION="1.41"
5 CATEGORY="network"
6 SHORT_DESC="makes modem-based connection to Internet"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="ppp"
9 TARBALL=$PACKAGE"_"$VERSION".tar.gz"
10 WEB_SITE="http://alumnit.ca/wiki/?WvDial"
11 WGET_URL="http://archive.debian.org/debian/dists/potato/main/source/comm/$TARBALL"
12 TAGS="network 3g"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ! grep -q DESTDIR Makefile && patch -p1 < ../stuff/wvdial-1.41-gcc4.2.diff
19 make && make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
27 cp -a $_pkg/etc $fs
28 }
30 post_remove()
31 {
32 rm -rf /etc/ppp/peers/wvdial
33 }