wok-current view wvstreams/receipt @ rev 5266
Up: libxml2 (2.7.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 14 00:06:41 2010 +0200 (2010-04-14) |
parents | c467222c631f |
children | 36e4927da6d9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wvstreams"
4 VERSION="4.6.1"
5 CATEGORY="network"
6 SHORT_DESC="makes modem-based connection to Internet"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="ppp gcc-lib-base openssl zlib xplc readline"
9 BUILD_DEPENDS="openssl-dev zlib-dev xplc-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 --prefix=/usr \
20 --without-dbus \
21 --without-tcl \
22 --without-qt \
23 --without-pam \
24 --without-valgrind &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/etc $fs/var
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/etc/* $fs/etc
39 cp -a $_pkg/usr/var/* $fs/var
40 }
42 post_remove()
43 {
44 rm -rf /etc/ppp/peers/wvdial
45 }