wok-stable annotate bison/receipt @ rev 3729
php-gd: add jpeg & png support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 22 17:16:37 2009 +0200 (2009-07-22) |
parents | a202b328cf9b |
children | 903304956fc2 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="bison" |
pankso@3189 | 4 VERSION="2.4.1" |
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" |
jozee@3567 | 12 TAGS="parser language" |
pankso@15 | 13 |
pankso@15 | 14 # Rules to configure and make the package. |
pankso@15 | 15 compile_rules() |
pankso@15 | 16 { |
pankso@15 | 17 cd $src |
pankso@15 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1447 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1447 | 20 echo '#define YYENABLE_NLS 1' >> config.h && |
pascal@1447 | 21 make && |
pankso@15 | 22 make DESTDIR=$PWD/_pkg 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 } |