wok-6.x annotate bison/receipt @ rev 24372

updated bison and bison-lang (3.5 -> 3.8.2)
author Hans-G?nter Theisgen
date Sat Feb 05 15:15:36 2022 +0100 (2022-02-05)
parents 1b90442b7758
children 9af0e03b8ad0
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="bison"
Hans-G?nter@24372 4 VERSION="3.8.2"
pankso@200 5 CATEGORY="development"
Hans-G?nter@22540 6 TAGS="parser language"
pankso@15 7 SHORT_DESC="GNU parser generator."
pankso@15 8 MAINTAINER="pankso@slitaz.org"
pascal@15201 9 LICENSE="GPL3"
Hans-G?nter@22540 10 WEB_SITE="https://www.gnu.org/software/bison/"
Hans-G?nter@22540 11
Hans-G?nter@22540 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22540 13 WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
pankso@15 14
Hans-G?nter@24372 15 SUGGESTED="bison-lang"
pankso@10042 16 DEPENDS="m4"
pankso@10042 17 BUILD_DEPENDS="m4"
pankso@10042 18
Hans-G?nter@22540 19 HOST_ARCH="i486 arm"
Hans-G?nter@22540 20
pankso@15 21 # Rules to configure and make the package.
pankso@15 22 compile_rules()
pankso@15 23 {
Hans-G?nter@24372 24 ./configure \
Hans-G?nter@24372 25 $CONFIGURE_ARGS &&
Hans-G?nter@22540 26 make &&
Hans-G?nter@22540 27 make install
Hans-G?nter@22540 28
Hans-G?nter@22540 29 # 2.6.5
Hans-G?nter@22540 30 # echo '#define YYENABLE_NLS 1' >> config.h &&
pankso@15 31 }
pankso@15 32
pankso@15 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 34 genpkg_rules()
pankso@15 35 {
pankso@12811 36 mkdir -p $fs/usr/share
Hans-G?nter@22540 37
Hans-G?nter@22540 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22540 39 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22540 40 cp -a $install/usr/share/aclocal $fs/usr/share
Hans-G?nter@22540 41 cp -a $install/usr/share/bison $fs/usr/share
pankso@15 42 }