wok annotate bison/receipt @ rev 17922
syslinux: update fi kbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 16:12:27 2015 +0200 (2015-04-10) |
parents | 2b9f96603415 |
children | a5b865e166cd |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
pankso@13604 | 4 VERSION="2.6.5" |
pankso@200 | 5 CATEGORY="development" |
pankso@15 | 6 SHORT_DESC="GNU parser generator." |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
pankso@15 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@15 | 10 WEB_SITE="http://www.gnu.org/software/bison/" |
pankso@15 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
jozee@3567 | 12 TAGS="parser language" |
pankso@12811 | 13 HOST_ARCH="i486 arm" |
pankso@15 | 14 |
pankso@10042 | 15 DEPENDS="m4" |
pankso@10042 | 16 BUILD_DEPENDS="m4" |
pankso@10042 | 17 |
pankso@15 | 18 # Rules to configure and make the package. |
pankso@15 | 19 compile_rules() |
pankso@15 | 20 { |
pankso@15 | 21 cd $src |
pankso@10042 | 22 ./configure $CONFIGURE_ARGS && |
pascal@1447 | 23 echo '#define YYENABLE_NLS 1' >> config.h && |
pankso@10042 | 24 make && make install |
pankso@15 | 25 } |
pankso@15 | 26 |
pankso@15 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 28 genpkg_rules() |
pankso@15 | 29 { |
pankso@12811 | 30 mkdir -p $fs/usr/share |
pankso@12811 | 31 cp -a $install/usr/bin $fs/usr |
pankso@12811 | 32 cp -a $install/usr/lib $fs/usr |
pankso@12811 | 33 cp -a $install/usr/share/aclocal $fs/usr/share |
pankso@12811 | 34 cp -a $install/usr/share/bison $fs/usr/share |
pankso@15 | 35 } |