wok-4.x annotate bison/receipt @ rev 11207
Add from wok-undigest: gnome-games-glchess gnome-games-icons gnome-games-sudoku gnome-games gnome-js-common gnome-keyring gnome-vfs-monikers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 11:15:24 2011 +0100 (2011-11-03) |
parents | 68049456cdd4 |
children | 654ef6aa1962 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
slaxemulator@10991 | 4 VERSION="2.5" |
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" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/bison/" |
pankso@15 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 11 TAGS="parser language" |
pankso@15 | 12 |
pankso@10042 | 13 DEPENDS="m4" |
pankso@10042 | 14 BUILD_DEPENDS="m4" |
pankso@10042 | 15 |
pankso@15 | 16 # Rules to configure and make the package. |
pankso@15 | 17 compile_rules() |
pankso@15 | 18 { |
pankso@15 | 19 cd $src |
pankso@10042 | 20 ./configure $CONFIGURE_ARGS && |
pascal@1447 | 21 echo '#define YYENABLE_NLS 1' >> config.h && |
pankso@10042 | 22 make && make install |
pankso@15 | 23 } |
pankso@15 | 24 |
pankso@15 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 26 genpkg_rules() |
pankso@15 | 27 { |
pankso@15 | 28 mkdir -p $fs/usr/share/locale |
pankso@15 | 29 cp -a $_pkg/usr/bin $fs/usr |
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 } |