wok-next annotate bison/receipt @ rev 2411

Up: lighttpd (1.4.22) - Regressions fix
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 10 11:36:32 2009 +0100 (2009-03-10)
parents 04d6abcf6d15
children a202b328cf9b
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="bison"
pankso@1757 4 VERSION="2.4"
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"
pascal@1447 9 BUILD_DEPENDS="m4"
pankso@15 10 WEB_SITE="http://www.gnu.org/software/bison/"
pankso@15 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@15 12
pankso@15 13 # Rules to configure and make the package.
pankso@15 14 compile_rules()
pankso@15 15 {
pankso@15 16 cd $src
pankso@15 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1447 18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1447 19 echo '#define YYENABLE_NLS 1' >> config.h &&
pascal@1447 20 make &&
pankso@15 21 make DESTDIR=$PWD/_pkg install
pankso@15 22 }
pankso@15 23
pankso@15 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 25 genpkg_rules()
pankso@15 26 {
pankso@15 27 mkdir -p $fs/usr/share/locale
pankso@15 28 cp -a $_pkg/usr/bin $fs/usr
pankso@15 29 strip -s $fs/usr/bin/*
pankso@15 30 cp -a $_pkg/usr/lib $fs/usr
pankso@15 31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
pankso@15 32 cp -a $_pkg/usr/share/bison $fs/usr/share
pankso@15 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@15 34 }