wok view wvdial/receipt @ rev 15142
bmpanel2: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:41:58 2013 +0000 (2013-08-15) |
parents | 756006d8f6ae |
children | 2a21689b0af7 |
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 -j1 &&
21 make -j1 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 }