wok-next view wvstreams/receipt @ rev 20044
gdb: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 21:25:10 2017 +0200 (2017-10-22) |
parents | 9e01bc6321ea |
children | 4f615ac29298 |
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 LICENSE="GPL2"
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 DEPENDS="ppp libssl xplc readline"
15 BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev bash zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/valgrind $fs/usr/lib
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/etc/* $fs/etc
42 cp -a $install/usr/var/* $fs/var
43 }
45 post_remove()
46 {
47 rm -rf "$1/etc/ppp/peers/wvdial"
48 }