wok-current annotate wvdial/receipt @ rev 7128

Up: GConf to 2.32.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 04 22:01:11 2010 +0000 (2010-11-04)
parents 2be24e406c2b
children 756006d8f6ae
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"
jozee@5091 8 DEPENDS="ppp gcc-lib-base wvstreams"
jozee@5091 9 BUILD_DEPENDS="wvstreams-dev"
jozee@5090 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@5090 11 WEB_SITE="http://wvstreams.googlecode.com/"
jozee@5090 12 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
jozee@4976 13 TAGS="network 3g"
domcox@2665 14
domcox@2665 15 # Rules to configure and make the package.
domcox@2665 16 compile_rules()
domcox@2665 17 {
domcox@2665 18 cd $src
jozee@5090 19 ./configure &&
jozee@5090 20 make &&
jozee@5090 21 make prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install
domcox@2665 22 }
domcox@2665 23
domcox@2665 24 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@2665 25 genpkg_rules()
domcox@2665 26 {
domcox@2665 27 mkdir -p $fs/usr/bin
domcox@2665 28 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
domcox@2665 29 cp -a $_pkg/etc $fs
domcox@2665 30 }
domcox@2665 31
domcox@2665 32 post_remove()
domcox@2665 33 {
domcox@2665 34 rm -rf /etc/ppp/peers/wvdial
domcox@2665 35 }