wok-current rev 22540

updated bison (2.6.5 -> 3.5)
author Hans-G?nter Theisgen
date Fri Jan 03 16:33:16 2020 +0100 (2020-01-03)
parents 1e28c557cc40
children 8a3a69c4b4d6
files bison/receipt
line diff
     1.1 --- a/bison/receipt	Fri Jan 03 16:08:36 2020 +0100
     1.2 +++ b/bison/receipt	Fri Jan 03 16:33:16 2020 +0100
     1.3 @@ -1,34 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bison"
     1.7 -VERSION="2.6.5"
     1.8 +VERSION="3.5"
     1.9  CATEGORY="development"
    1.10 +TAGS="parser language"
    1.11  SHORT_DESC="GNU parser generator."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://www.gnu.org/software/bison/"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17 -TAGS="parser language"
    1.18 -HOST_ARCH="i486 arm"
    1.19 +WEB_SITE="https://www.gnu.org/software/bison/"
    1.20 +
    1.21 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.22 +WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.23  
    1.24  DEPENDS="m4"
    1.25  BUILD_DEPENDS="m4"
    1.26  
    1.27 +HOST_ARCH="i486 arm"
    1.28 +
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	./configure $CONFIGURE_ARGS &&
    1.33 -	echo '#define YYENABLE_NLS 1' >> config.h &&
    1.34 -	make && make install
    1.35 +	make &&
    1.36 +	make install
    1.37 +
    1.38 +#	2.6.5
    1.39 +#	echo '#define YYENABLE_NLS 1' >> config.h &&
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45  	mkdir -p $fs/usr/share
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.49 -	cp -a $install/usr/share/bison $fs/usr/share
    1.50 +
    1.51 +	cp -a $install/usr/bin			$fs/usr
    1.52 +	cp -a $install/usr/lib			$fs/usr
    1.53 +	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.54 +	cp -a $install/usr/share/bison		$fs/usr/share
    1.55  }