wok annotate wvdial/receipt @ rev 4976

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