wok-current annotate bison/receipt @ rev 13397
up xlockmore 5.40. Updated website for util-linux
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Sep 26 11:23:37 2012 +0000 (2012-09-26) |
parents | d100fc36aa41 |
children | 045efbb0c0d0 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
pankso@13203 | 4 VERSION="2.6.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" |
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@12811 | 12 HOST_ARCH="i486 arm" |
pankso@15 | 13 |
pankso@10042 | 14 DEPENDS="m4" |
pankso@10042 | 15 BUILD_DEPENDS="m4" |
pankso@10042 | 16 |
pankso@15 | 17 # Rules to configure and make the package. |
pankso@15 | 18 compile_rules() |
pankso@15 | 19 { |
pankso@15 | 20 cd $src |
pankso@10042 | 21 ./configure $CONFIGURE_ARGS && |
pascal@1447 | 22 echo '#define YYENABLE_NLS 1' >> config.h && |
pankso@10042 | 23 make && make 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@12811 | 29 mkdir -p $fs/usr/share |
pankso@12811 | 30 cp -a $install/usr/bin $fs/usr |
pankso@12811 | 31 cp -a $install/usr/lib $fs/usr |
pankso@12811 | 32 cp -a $install/usr/share/aclocal $fs/usr/share |
pankso@12811 | 33 cp -a $install/usr/share/bison $fs/usr/share |
pankso@15 | 34 } |