wok view re2c/receipt @ rev 9720

Fixed slitaz-i18n to use cook if it exists to make locale packages. If cook doesn't exist it will use tazwok.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 00:42:20 2011 +0000 (2011-05-09)
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 }