wok-4.x view bison/receipt @ rev 3421
Add: python-bpython (0.9.3)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Jun 13 01:40:22 2009 +0000 (2009-06-13) |
parents | 7598aa756c11 |
children | 4ffc7c76d358 |
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 echo '#define YYENABLE_NLS 1' >> config.h &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/share/bison $fs/usr/share
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 }