wok-6.x view bison/receipt @ rev 4217

flac: fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 10:21:35 2009 +0000 (2009-09-24)
parents a202b328cf9b
children 903304956fc2
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.4.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU parser generator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 BUILD_DEPENDS="m4"
10 WEB_SITE="http://www.gnu.org/software/bison/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="parser language"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 echo '#define YYENABLE_NLS 1' >> config.h &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 cp -a $_pkg/usr/share/bison $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 }