wok diff bison/receipt @ rev 24304

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 11:01:52 2022 +0000 (2022-01-17)
parents a5b865e166cd
children b0897e8bc1a4
line diff
     1.1 --- a/bison/receipt	Tue Jul 05 19:21:55 2016 +0300
     1.2 +++ b/bison/receipt	Mon Jan 17 11:01:52 2022 +0000
     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  }