wok annotate wvstreams/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents dad80edb4950
children 63a88816200c
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@5099 8 DEPENDS="ppp gcc-lib-base openssl zlib xplc readline"
jozee@5099 9 BUILD_DEPENDS="openssl-dev zlib-dev xplc-dev"
jozee@5089 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@5089 11 WEB_SITE="http://wvstreams.googlecode.com"
jozee@5089 12 WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
jozee@5089 13 TAGS="network 3g"
jozee@5089 14
jozee@5089 15 # Rules to configure and make the package.
jozee@5089 16 compile_rules()
jozee@5089 17 {
jozee@5089 18 cd $src
pascal@5485 19 sed -i 's/ X509V3_EXT_METHOD/ const X509V3_EXT_METHOD/' crypto/wvx509.cc
jozee@5089 20 ./configure --prefix=/usr \
jozee@5089 21 --without-dbus \
jozee@5089 22 --without-tcl \
jozee@5089 23 --without-qt \
jozee@5089 24 --without-pam \
jozee@5089 25 --without-valgrind &&
jozee@5089 26
jozee@5089 27 make &&
jozee@5089 28 make DESTDIR=$PWD/_pkg install
jozee@5089 29 }
jozee@5089 30
jozee@5089 31 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5089 32 genpkg_rules()
jozee@5089 33 {
jozee@5089 34 mkdir -p $fs/usr/lib $fs/etc $fs/var
jozee@5089 35 cp -a $_pkg/usr/bin $fs/usr
jozee@5089 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@5089 37 cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
jozee@5089 38 cp -a $_pkg/usr/sbin $fs/usr
jozee@5089 39 cp -a $_pkg/usr/etc/* $fs/etc
jozee@5089 40 cp -a $_pkg/usr/var/* $fs/var
jozee@5089 41 }
jozee@5089 42
jozee@5089 43 post_remove()
jozee@5089 44 {
jozee@5089 45 rm -rf /etc/ppp/peers/wvdial
jozee@5089 46 }