wok-current rev 10625

wvstreams: fic build (CONFIGURE_ARGS must sometime go first) + fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 26 21:39:55 2011 +0200 (2011-05-26)
parents 3ef83dc65ac4
children 18b27dcdc244
files wvstreams/receipt
line diff
     1.1 --- a/wvstreams/receipt	Thu May 26 21:27:42 2011 +0200
     1.2 +++ b/wvstreams/receipt	Thu May 26 21:39:55 2011 +0200
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="makes modem-based connection to Internet"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 -DEPENDS="ppp gcc-lib-base openssl zlib xplc readline"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://wvstreams.googlecode.com"
    1.10  WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
    1.11  TAGS="network 3g"
    1.12  
    1.13 +DEPENDS="ppp libssl xplc readline"
    1.14 +BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 @@ -18,15 +20,14 @@
    1.20  	sed -i 's/  X509V3_EXT_METHOD/  const X509V3_EXT_METHOD/' crypto/wvx509.cc
    1.21  	sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
    1.22  		ipstreams/wvunixdgsocket.cc
    1.23 -	 ./configure --prefix=/usr \
    1.24 -	 --without-dbus \
    1.25 -	 --without-tcl \
    1.26 -	 --without-qt \
    1.27 -	 --without-pam \
    1.28 -	 --without-valgrind \ 
    1.29 -	$CONFIGURE_ARGS &&
    1.30 -	make -j1 && 
    1.31 -	make -j1 install
    1.32 +	./configure $CONFIGURE_ARGS \
    1.33 +		--prefix=/usr \
    1.34 +		--without-dbus \
    1.35 +		--without-tcl \
    1.36 +		--without-qt \
    1.37 +		--without-pam \
    1.38 +		--without-valgrind &&
    1.39 +	make -j1 && make -j1 install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.