wok view wvstreams/receipt @ rev 14714
lib[a-n]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 10:41:23 2013 +0200 (2013-06-11) |
parents | 8d1645a116b7 |
children | 2a21689b0af7 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://wvstreams.googlecode.com"
10 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
11 TAGS="network 3G"
13 DEPENDS="ppp libssl xplc readline"
14 BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev bash"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
21 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
22 ipstreams/wvunixdgsocket.cc
23 ./configure $CONFIGURE_ARGS \
24 --prefix=/usr \
25 --without-dbus \
26 --without-tcl \
27 --without-qt \
28 --without-pam \
29 --without-valgrind &&
30 make -j1 && make -j1 install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/etc $fs/var
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
40 cp -a $_pkg/usr/sbin $fs/usr
41 cp -a $_pkg/usr/etc/* $fs/etc
42 cp -a $_pkg/usr/var/* $fs/var
43 }
45 post_remove()
46 {
47 rm -rf $1/etc/ppp/peers/wvdial
48 }