wok-current annotate bison/receipt @ rev 3189
Up: bison (2.4.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 26 17:23:26 2009 +0200 (2009-05-26) |
parents | 7598aa756c11 |
children | 4ffc7c76d358 |
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" |
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 cp -a $_pkg/usr/lib $fs/usr |
pankso@15 | 30 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@15 | 31 cp -a $_pkg/usr/share/bison $fs/usr/share |
pankso@15 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@15 | 33 } |