wok-current annotate wvdial/receipt @ rev 15078
grub: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:02:48 2013 +0000 (2013-08-13) |
parents | 756006d8f6ae |
children | 2a21689b0af7 |
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" |
pascal@13027 | 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 } |