wok-6.x annotate bison/receipt @ rev 1447
alsa-plugins alsa-utils bc bison id3lib krb5 libIDL: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 10:33:15 2008 +0000 (2008-10-03) |
parents | b61b574cf78e |
children | 7598aa756c11 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
pankso@15 | 4 VERSION="2.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" |
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 strip -s $fs/usr/bin/* |
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 } |