wok-current view bison/receipt @ rev 11403
python-flup: Add python-distribute to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 10 20:29:34 2011 +0000 (2011-12-10) |
parents | 68049456cdd4 |
children | fc477d1ae77b |
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.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 echo '#define YYENABLE_NLS 1' >> config.h &&
22 make && 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 }