wok diff swig/receipt @ rev 11689

ntop: update bdep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 18 17:18:01 2012 +0100 (2012-02-18)
parents f08d28e3dde8
children 8cfc8629accd
line diff
     1.1 --- a/swig/receipt	Mon Apr 11 22:46:22 2011 +0000
     1.2 +++ b/swig/receipt	Sat Feb 18 17:18:01 2012 +0100
     1.3 @@ -5,20 +5,19 @@
     1.4  CATEGORY="development"
     1.5  MAINTAINER="devel@slitaz.org"
     1.6  SHORT_DESC="A compiler that makes it easy to integrate C and C++ code with scripting languages"
     1.7 -BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
     1.8  WEB_SITE="http://www.swig.org/"
     1.9 -DEPENDS="gcc-lib-base zlib pcre"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  TAGS="compiler"
    1.13  
    1.14 +DEPENDS="gcc-lib-base zlib pcre"
    1.15 +BUILD_DEPENDS="pcre-dev zlib-dev pkg-config"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18 -
    1.19  compile_rules() {
    1.20 -  cd $src
    1.21 -  ./configure --prefix=/usr &&
    1.22 -  make &&
    1.23 -  make DESTDIR=$PWD/_pkg install
    1.24 +	cd $src
    1.25 +	./configure $CONFIGURE_ARGS &&
    1.26 +	make && make install
    1.27  }
    1.28  	
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.