wok-current view bison/receipt @ rev 6380
Up: libmpd, libmpd-dev to 0.20.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 21 14:10:36 2010 +0000 (2010-09-21) |
parents | f3b4c623429b |
children | a0d1333e073b |
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 --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 echo '#define YYENABLE_NLS 1' >> config.h &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/share/aclocal $fs/usr/share
33 cp -a $_pkg/usr/share/bison $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 }