wok view wvstreams/receipt @ rev 9134

Weird fix for weird problem... (a line into cndrvcups-common)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Mar 06 05:34:07 2011 +0100 (2011-03-06)
parents 36e4927da6d9
children 187c96358d69
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 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
20 ./configure --prefix=/usr \
21 --without-dbus \
22 --without-tcl \
23 --without-qt \
24 --without-pam \
25 --without-valgrind &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/etc $fs/var
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp -a $_pkg/usr/etc/* $fs/etc
40 cp -a $_pkg/usr/var/* $fs/var
41 }
43 post_remove()
44 {
45 rm -rf $1/etc/ppp/peers/wvdial
46 }