wok-next view wvdial/receipt @ rev 6069
Add: qemu-{arm,mips,ppc,x86}
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Aug 24 10:49:58 2010 +0200 (2010-08-24) |
parents | 2be24e406c2b |
children | 756006d8f6ae |
line source
1 # SliTaz package receipt.
3 PACKAGE="wvdial"
4 VERSION="1.61"
5 CATEGORY="network"
6 SHORT_DESC="makes modem-based connection to Internet"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="ppp gcc-lib-base wvstreams"
9 BUILD_DEPENDS="wvstreams-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://wvstreams.googlecode.com/"
12 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
13 TAGS="network 3g"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure &&
20 make &&
21 make prefix=$PWD/_pkg/usr PPPDIR=$PWD/_pkg/etc/ppp/peers install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $_pkg/usr/bin/wvdial* $fs/usr/bin
29 cp -a $_pkg/etc $fs
30 }
32 post_remove()
33 {
34 rm -rf /etc/ppp/peers/wvdial
35 }