wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="3.5"
5 CATEGORY="development"
6 TAGS="parser language"
7 SHORT_DESC="GNU parser generator."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/bison/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
15 DEPENDS="m4"
16 BUILD_DEPENDS="m4"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure $CONFIGURE_ARGS &&
24 make &&
25 make install
27 # 2.6.5
28 # echo '#define YYENABLE_NLS 1' >> config.h &&
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/aclocal $fs/usr/share
39 cp -a $install/usr/share/bison $fs/usr/share
40 }