wok annotate 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
rev   line source
domcox@2665 1 # SliTaz package receipt.
domcox@2665 2
domcox@2665 3 PACKAGE="wvdial"
jozee@5090 4 VERSION="1.61"
domcox@2665 5 CATEGORY="network"
domcox@2665 6 SHORT_DESC="makes modem-based connection to Internet"
jozee@5090 7 MAINTAINER="jozee@slitaz.org"
pascal@5007 8 DEPENDS="ppp gcc-lib-base"
jozee@5090 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@5090 10 WEB_SITE="http://wvstreams.googlecode.com/"
jozee@5090 11 WGET_URL="http://wvstreams.googlecode.com/files/$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
jozee@5090 18 ./configure &&
jozee@5090 19 make &&
jozee@5090 20 make prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install
domcox@2665 21 }
domcox@2665 22
domcox@2665 23 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@2665 24 genpkg_rules()
domcox@2665 25 {
domcox@2665 26 mkdir -p $fs/usr/bin
domcox@2665 27 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
domcox@2665 28 cp -a $_pkg/etc $fs
domcox@2665 29 }
domcox@2665 30
domcox@2665 31 post_remove()
domcox@2665 32 {
domcox@2665 33 rm -rf /etc/ppp/peers/wvdial
domcox@2665 34 }