wok-current annotate wvdial/receipt @ rev 24384
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 16:04:43 2022 +0000 (2022-02-06) |
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 } |