wok view bison/receipt @ rev 833

Add cairomm (new dep for glibmm/gtkmm)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 18 13:30:42 2008 +0200 (2008-05-18)
parents 83f1d01ed1ac
children 04d6abcf6d15
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.3"
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"
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 }