wok-next view bison/receipt @ rev 15
Add : autoconf, automake, bison, coreutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:21:08 2007 +0100 (2007-12-18) |
parents | |
children | b61b574cf78e |
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.3"
5 CATEGORY="devel"
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 echo '#define YYENABLE_NLS 1' >> config.h
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/locale
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/*
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 }