wok view bison/receipt @ rev 18583

Up slitaz-tools-boxes(958)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 12 11:40:39 2015 +0200 (2015-11-12)
parents 2b9f96603415
children a5b865e166cd
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.6.5"
5 CATEGORY="development"
6 SHORT_DESC="GNU parser generator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/bison/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="parser language"
13 HOST_ARCH="i486 arm"
15 DEPENDS="m4"
16 BUILD_DEPENDS="m4"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure $CONFIGURE_ARGS &&
23 echo '#define YYENABLE_NLS 1' >> config.h &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/share/aclocal $fs/usr/share
34 cp -a $install/usr/share/bison $fs/usr/share
35 }