wok-next rev 10042

bison: cross with CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 09:00:11 2011 +0200 (2011-05-20)
parents 61d3b0ce3a2b
children 04f951ebdb85
files bison/receipt flex/receipt
line diff
     1.1 --- a/bison/receipt	Fri May 20 08:58:54 2011 +0200
     1.2 +++ b/bison/receipt	Fri May 20 09:00:11 2011 +0200
     1.3 @@ -6,20 +6,20 @@
     1.4  SHORT_DESC="GNU parser generator."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -DEPENDS="m4"
     1.8 -BUILD_DEPENDS="m4"
     1.9  WEB_SITE="http://www.gnu.org/software/bison/"
    1.10  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.11  TAGS="parser language"
    1.12  
    1.13 +DEPENDS="m4"
    1.14 +BUILD_DEPENDS="m4"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19  	cd $src
    1.20 -	./configure &&
    1.21 +	./configure $CONFIGURE_ARGS &&
    1.22  	echo '#define YYENABLE_NLS 1' >> config.h &&
    1.23 -	make &&
    1.24 -	make install
    1.25 +	make && make install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/flex/receipt	Fri May 20 08:58:54 2011 +0200
     2.2 +++ b/flex/receipt	Fri May 20 09:00:11 2011 +0200
     2.3 @@ -5,12 +5,13 @@
     2.4  CATEGORY="development"
     2.5  SHORT_DESC="Flex is a fast lexical analyser generator."
     2.6  MAINTAINER="pankso@slitaz.org"
     2.7 -DEPENDS="bison"
     2.8 -BUILD_DEPENDS="bison"
     2.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.10  WEB_SITE="http://flex.sourceforge.net/"
    2.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.12  
    2.13 +DEPENDS="bison"
    2.14 +BUILD_DEPENDS="bison"
    2.15 +
    2.16  # Rules to configure and make the package.
    2.17  compile_rules()
    2.18  {