wok view bison/receipt @ rev 9331
Fix: docbook-xml (we need 4.2 DTD file to cook kdelibs)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:16:28 2011 +0100 (2011-03-18) |
parents | c191a53f3efd |
children | 68049456cdd4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.4.3"
5 CATEGORY="development"
6 SHORT_DESC="GNU parser generator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="m4"
10 BUILD_DEPENDS="m4"
11 WEB_SITE="http://www.gnu.org/software/bison/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="parser language"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure &&
20 echo '#define YYENABLE_NLS 1' >> config.h &&
21 make &&
22 make 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 }