wok view re2c/receipt @ rev 12280
qtwitter: improve receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 13:59:44 2012 +0200 (2012-04-15) |
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 }