wok-current view wvstreams/receipt @ rev 10520

octave: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 16:14:19 2011 +0200 (2011-05-25)
parents 93057273cccb
children e746377a4e66
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 \
27 $CONFIGURE_ARGS &&
28 make -j1 &&
29 make -j1 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 }