wok-stable view wvdial/receipt @ rev 10921

fix get-LibreOffice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 05 21:16:43 2011 +0200 (2011-08-05)
parents 9cc1cbd5e30b
children
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 }