wok-stable view wvstreams/receipt @ rev 9994

xfburn: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu May 19 00:46:05 2011 +0200 (2011-05-19)
parents 84d83aa7bb67
children c0b6d67ccb7f
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://wvstreams.googlecode.com"
11 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
12 TAGS="network 3g"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
19 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
20 ipstreams/wvunixdgsocket.cc
21 ./configure --prefix=/usr \
22 --without-dbus \
23 --without-tcl \
24 --without-qt \
25 --without-pam \
26 --without-valgrind &&
28 make -j1 &&
29 make -j1 DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/etc $fs/var
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
39 cp -a $_pkg/usr/sbin $fs/usr
40 cp -a $_pkg/usr/etc/* $fs/etc
41 cp -a $_pkg/usr/var/* $fs/var
42 }
44 post_remove()
45 {
46 rm -rf $1/etc/ppp/peers/wvdial
47 }