wok-next rev 10357

swig: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 16:57:27 2011 +0000 (2011-05-22)
parents 43e3267023cb
children 9e2e50b698ab
files swig/receipt
line diff
     1.1 --- a/swig/receipt	Sun May 22 22:58:23 2011 +0200
     1.2 +++ b/swig/receipt	Sun May 22 16:57:27 2011 +0000
     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.