wok-current annotate bison/receipt @ rev 4748

bison: update depends
author Paul Issott <paul@slitaz.org>
date Sat Jan 09 13:05:53 2010 +0000 (2010-01-09)
parents 4ffc7c76d358
children f3b4c623429b
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="bison"
pankso@3189 4 VERSION="2.4.1"
pankso@200 5 CATEGORY="development"
pankso@15 6 SHORT_DESC="GNU parser generator."
pankso@15 7 MAINTAINER="pankso@slitaz.org"
pankso@15 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4748 9 DEPENDS="m4"
pascal@1447 10 BUILD_DEPENDS="m4"
pankso@15 11 WEB_SITE="http://www.gnu.org/software/bison/"
pankso@15 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
jozee@3567 13 TAGS="parser language"
pankso@15 14
pankso@15 15 # Rules to configure and make the package.
pankso@15 16 compile_rules()
pankso@15 17 {
pankso@15 18 cd $src
pankso@15 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1447 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1447 21 echo '#define YYENABLE_NLS 1' >> config.h &&
pascal@1447 22 make &&
pankso@15 23 make DESTDIR=$PWD/_pkg install
pankso@15 24 }
pankso@15 25
pankso@15 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 27 genpkg_rules()
pankso@15 28 {
pankso@15 29 mkdir -p $fs/usr/share/locale
pankso@15 30 cp -a $_pkg/usr/bin $fs/usr
pankso@15 31 cp -a $_pkg/usr/lib $fs/usr
pankso@15 32 cp -a $_pkg/usr/share/aclocal $fs/usr/share
pankso@15 33 cp -a $_pkg/usr/share/bison $fs/usr/share
pankso@15 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@15 35 }