wok-6.x annotate wvdial/receipt @ rev 20726

updated audiofile and audiofile-dev (0.3.4 -> 0.3.6)
author Hans-G?nter Theisgen
date Sat Feb 09 11:08:03 2019 +0100 (2019-02-09)
parents 6135577f4d08
children e3079653b462
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@15363 8 LICENSE="GPL2"
jozee@5090 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20682 10 WEB_SITE="https://web.archive.org/web/20110504183753/http://alumnit.ca:80/wiki/index.php?page=WvDial"
jozee@5090 11 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
pascal@13027 12 TAGS="network 3G"
domcox@2665 13
pascal@15363 14 DEPENDS="ppp gcc-lib-base wvstreams"
pascal@15363 15 BUILD_DEPENDS="wvstreams-dev"
pascal@15363 16
domcox@2665 17 # Rules to configure and make the package.
domcox@2665 18 compile_rules()
domcox@2665 19 {
domcox@2665 20 cd $src
jozee@5090 21 ./configure &&
pascal@9219 22 make -j1 &&
pascal@15363 23 make -j1 prefix=$DESTDIR/usr PPPDIR=$DESTDIR/etc/ppp/peers install
domcox@2665 24 }
domcox@2665 25
domcox@2665 26 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@2665 27 genpkg_rules()
domcox@2665 28 {
domcox@2665 29 mkdir -p $fs/usr/bin
pascal@15363 30 cp -a $install/usr/bin/wvdial* $fs/usr/bin
pascal@15363 31 cp -a $install/etc $fs
domcox@2665 32 }
domcox@2665 33
domcox@2665 34 post_remove()
domcox@2665 35 {
domcox@2665 36 rm -rf /etc/ppp/peers/wvdial
domcox@2665 37 }