wok view re2c/receipt @ rev 5907

fbreader: fix for GCC 4.5.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 26 13:57:40 2010 +0200 (2010-07-26)
parents ac4a4ec1c9e1
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="re2c"
4 VERSION="0.13.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Re2c is a tool for writing very fast and very flexible scanners."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://re2c.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="scanner"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
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
28 cp -a $_pkg/usr/bin $fs/usr
29 }