wok-next annotate wvstreams/receipt @ rev 15717

remove linux-lxc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 26 09:02:17 2013 +0000 (2013-12-26)
parents d71ba04aa9f5
children 9e01bc6321ea
rev   line source
jozee@5089 1 # SliTaz package receipt.
jozee@5089 2
jozee@5089 3 PACKAGE="wvstreams"
jozee@5089 4 VERSION="4.6.1"
jozee@5089 5 CATEGORY="network"
jozee@5089 6 SHORT_DESC="makes modem-based connection to Internet"
jozee@5089 7 MAINTAINER="jozee@slitaz.org"
pascal@15363 8 LICENSE="GPL2"
jozee@5089 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@5089 10 WEB_SITE="http://wvstreams.googlecode.com"
jozee@5089 11 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
pascal@13027 12 TAGS="network 3G"
jozee@5089 13
pankso@10625 14 DEPENDS="ppp libssl xplc readline"
pascal@12449 15 BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev bash"
pankso@10625 16
jozee@5089 17 # Rules to configure and make the package.
jozee@5089 18 compile_rules()
jozee@5089 19 {
jozee@5089 20 cd $src
pascal@5485 21 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
pascal@9218 22 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
pascal@9238 23 ipstreams/wvunixdgsocket.cc
pankso@10625 24 ./configure $CONFIGURE_ARGS \
pankso@10625 25 --prefix=/usr \
pankso@10625 26 --without-dbus \
pankso@10625 27 --without-tcl \
pankso@10625 28 --without-qt \
pankso@10625 29 --without-pam \
pankso@10625 30 --without-valgrind &&
pankso@10625 31 make -j1 && make -j1 install
jozee@5089 32 }
jozee@5089 33
jozee@5089 34 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5089 35 genpkg_rules()
jozee@5089 36 {
jozee@5089 37 mkdir -p $fs/usr/lib $fs/etc $fs/var
pascal@15363 38 cp -a $install/usr/bin $fs/usr
pascal@15363 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15363 40 cp -a $install/usr/lib/valgrind $fs/usr/lib
pascal@15363 41 cp -a $install/usr/sbin $fs/usr
pascal@15363 42 cp -a $install/usr/etc/* $fs/etc
pascal@15363 43 cp -a $install/usr/var/* $fs/var
jozee@5089 44 }
jozee@5089 45
jozee@5089 46 post_remove()
jozee@5089 47 {
slaxemulator@8648 48 rm -rf $1/etc/ppp/peers/wvdial
jozee@5089 49 }