wok-4.x annotate bison/receipt @ rev 2008
Up: links (2.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 08 20:37:24 2009 +0100 (2009-01-08) |
parents | 04d6abcf6d15 |
children | a202b328cf9b |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
pankso@1757 | 4 VERSION="2.4" |
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 } |