wok view wvdial/receipt @ rev 5041
Update DEPENDS: abiword
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Mar 03 18:08:06 2010 +0000 (2010-03-03) |
parents | 35ec83c60e58 |
children | 2be24e406c2b |
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 gcc-lib-base"
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 }