wok-4.x view bison/receipt @ rev 12466

New toolchain GCC 4.9.2, Glibc 2.19, Binutils 2.23.1
author Stanislas Leduc <shann@slitaz.org>
date Wed Nov 09 15:12:00 2022 +0000 (18 months ago)
parents 8cbc91d13a1b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="3.7.5"
5 CATEGORY="development"
6 SHORT_DESC="GNU parser generator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/bison/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="parser language"
13 DEPENDS="m4"
14 BUILD_DEPENDS="m4"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS &&
21 # 2.5
22 #echo '#define YYENABLE_NLS 1' >> config.h &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share/aclocal $fs/usr/share
33 cp -a $_pkg/usr/share/bison $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 }