wok view bison/receipt @ rev 1809

Add fail2ban
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 04 09:37:52 2008 +0000 (2008-12-04)
parents 04d6abcf6d15
children a202b328cf9b
line source
1 # SliTaz package receipt.
3 PACKAGE="bison"
4 VERSION="2.4"
5 CATEGORY="development"
6 SHORT_DESC="GNU parser generator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 BUILD_DEPENDS="m4"
10 WEB_SITE="http://www.gnu.org/software/bison/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 echo '#define YYENABLE_NLS 1' >> config.h &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/usr/bin $fs/usr
29 strip -s $fs/usr/bin/*
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/aclocal $fs/usr/share
32 cp -a $_pkg/usr/share/bison $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 }