wok view wvstreams/receipt @ rev 24119
Add javascript-boulderdash
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 04 18:07:23 2021 +0000 (2021-10-04) |
parents | 6135577f4d08 |
children | b7f1bd1b9ac7 |
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="https://web.archive.org/web/20110504183753/http://alumnit.ca:80/wiki/index.php?page=WvDial"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
22 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
23 ipstreams/wvunixdgsocket.cc
24 ./configure $CONFIGURE_ARGS \
25 --prefix=/usr \
26 --without-dbus \
27 --without-tcl \
28 --without-qt \
29 --without-pam \
30 --without-valgrind &&
31 make -j1 && make -j1 install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/etc $fs/var
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/valgrind $fs/usr/lib
41 cp -a $install/usr/sbin $fs/usr
42 cp -a $install/usr/etc/* $fs/etc
43 cp -a $install/usr/var/* $fs/var
44 }
46 post_remove()
47 {
48 rm -rf "$1/etc/ppp/peers/wvdial"
49 }