wok-stable annotate wvstreams/receipt @ rev 11945

pcmanfm: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 01 09:20:32 2012 +0100 (2012-03-01)
parents c0b6d67ccb7f
children
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"
jozee@5089 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@5089 9 WEB_SITE="http://wvstreams.googlecode.com"
jozee@5089 10 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
jozee@5089 11 TAGS="network 3g"
jozee@5089 12
pankso@10625 13 DEPENDS="ppp libssl xplc readline"
pankso@10625 14 BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev"
pankso@10625 15
jozee@5089 16 # Rules to configure and make the package.
jozee@5089 17 compile_rules()
jozee@5089 18 {
jozee@5089 19 cd $src
pascal@5485 20 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
pascal@9218 21 sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
pascal@9238 22 ipstreams/wvunixdgsocket.cc
pankso@10625 23 ./configure $CONFIGURE_ARGS \
pankso@10625 24 --prefix=/usr \
pankso@10625 25 --without-dbus \
pankso@10625 26 --without-tcl \
pankso@10625 27 --without-qt \
pankso@10625 28 --without-pam \
pankso@10625 29 --without-valgrind &&
pankso@10625 30 make -j1 && make -j1 install
jozee@5089 31 }
jozee@5089 32
jozee@5089 33 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5089 34 genpkg_rules()
jozee@5089 35 {
jozee@5089 36 mkdir -p $fs/usr/lib $fs/etc $fs/var
jozee@5089 37 cp -a $_pkg/usr/bin $fs/usr
jozee@5089 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@5089 39 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
jozee@5089 40 cp -a $_pkg/usr/sbin $fs/usr
jozee@5089 41 cp -a $_pkg/usr/etc/* $fs/etc
jozee@5089 42 cp -a $_pkg/usr/var/* $fs/var
jozee@5089 43 }
jozee@5089 44
jozee@5089 45 post_remove()
jozee@5089 46 {
slaxemulator@8648 47 rm -rf $1/etc/ppp/peers/wvdial
jozee@5089 48 }