wok-6.x view wvdial/receipt @ rev 7308
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 17 13:50:26 2010 +0000 (2010-11-17) |
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 }