wok-next annotate bison/receipt @ rev 5550
Up: linux (2.6.33.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 13 21:39:07 2010 +0200 (2010-05-13) |
parents | 903304956fc2 |
children | c191a53f3efd |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
pankso@5263 | 4 VERSION="2.4.2" |
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 } |