wok-current view wvstreams/receipt @ rev 8936

Fixed locale-fr.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 01 07:39:26 2011 +0000 (2011-03-01)
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 }