wok annotate bison/receipt @ rev 758
Add SUGGESTED in wifi and pidgin. Add firmware.sh in udev.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu May 08 17:18:06 2008 +0200 (2008-05-08) |
parents | 83f1d01ed1ac |
children | 04d6abcf6d15 |
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" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/bison/" |
pankso@15 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 11 |
pankso@15 | 12 # Rules to configure and make the package. |
pankso@15 | 13 compile_rules() |
pankso@15 | 14 { |
pankso@15 | 15 cd $src |
pankso@15 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@15 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@15 | 18 echo '#define YYENABLE_NLS 1' >> config.h |
pankso@15 | 19 make |
pankso@15 | 20 make DESTDIR=$PWD/_pkg install |
pankso@15 | 21 } |
pankso@15 | 22 |
pankso@15 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 24 genpkg_rules() |
pankso@15 | 25 { |
pankso@15 | 26 mkdir -p $fs/usr/share/locale |
pankso@15 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@15 | 28 strip -s $fs/usr/bin/* |
pankso@15 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@15 | 30 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@15 | 31 cp -a $_pkg/usr/share/bison $fs/usr/share |
pankso@15 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@15 | 33 } |