wok-4.x annotate wvstreams/receipt @ rev 8383
Fix: compile tightvnc with -j1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 04 05:30:52 2011 +0000 (2011-02-04) |
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 } |