wok-6.x annotate bison/receipt @ rev 9772
subversion: Fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 11 21:16:24 2011 +0200 (2011-05-11) |
parents | c191a53f3efd |
children | 68049456cdd4 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
slaxemulator@6309 | 4 VERSION="2.4.3" |
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 |
gokhlayeh@8173 | 19 ./configure && |
pascal@1447 | 20 echo '#define YYENABLE_NLS 1' >> config.h && |
pascal@1447 | 21 make && |
gokhlayeh@8173 | 22 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 } |