wok annotate wvdial/receipt @ rev 19865
Up: lxtask (0.1.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 26 21:40:08 2017 +0200 (2017-03-26) |
parents | d71ba04aa9f5 |
children | 6135577f4d08 |
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" |
jozee@5090 | 10 WEB_SITE="http://wvstreams.googlecode.com/" |
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 } |