wok annotate wvdial/receipt @ rev 11145
Up: gobject-introspection to 1.30.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 21:22:53 2011 +0000 (2011-10-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 } |