wok annotate bison/receipt @ rev 23626

created recipe for ruby-native-package-installer
author Hans-G?nter Theisgen
date Thu Apr 16 07:59:09 2020 +0100 (2020-04-16)
parents a5b865e166cd
children b0897e8bc1a4
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="bison"
Hans-G?nter@22540 4 VERSION="3.5"
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
pankso@10042 15 DEPENDS="m4"
pankso@10042 16 BUILD_DEPENDS="m4"
pankso@10042 17
Hans-G?nter@22540 18 HOST_ARCH="i486 arm"
Hans-G?nter@22540 19
pankso@15 20 # Rules to configure and make the package.
pankso@15 21 compile_rules()
pankso@15 22 {
pankso@10042 23 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@22540 24 make &&
Hans-G?nter@22540 25 make install
Hans-G?nter@22540 26
Hans-G?nter@22540 27 # 2.6.5
Hans-G?nter@22540 28 # echo '#define YYENABLE_NLS 1' >> config.h &&
pankso@15 29 }
pankso@15 30
pankso@15 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 32 genpkg_rules()
pankso@15 33 {
pankso@12811 34 mkdir -p $fs/usr/share
Hans-G?nter@22540 35
Hans-G?nter@22540 36 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22540 37 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22540 38 cp -a $install/usr/share/aclocal $fs/usr/share
Hans-G?nter@22540 39 cp -a $install/usr/share/bison $fs/usr/share
pankso@15 40 }