wok-next annotate wvdial/receipt @ rev 10631
up: rssyl* (0.30)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 26 23:07:45 2011 +0200 (2011-05-26) |
parents | 9cc1cbd5e30b |
children | d71ba04aa9f5 |
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 && |
pascal@9219 | 20 make -j1 && |
pascal@9219 | 21 make -j1 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 } |