wok-next annotate re2c/receipt @ rev 4637
Up: web-applications (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Dec 24 18:22:10 2009 +0100 (2009-12-24) |
parents | |
children | 8be66f03fbd2 |
rev | line source |
---|---|
pankso@2822 | 1 # SliTaz package receipt. |
pankso@2822 | 2 |
pankso@2822 | 3 PACKAGE="re2c" |
pankso@2822 | 4 VERSION="0.13.5" |
pankso@2822 | 5 CATEGORY="system-tools" |
pankso@2822 | 6 SHORT_DESC="Re2c is a tool for writing very fast and very flexible scanners." |
pankso@2822 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2822 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2822 | 9 WEB_SITE="http://re2c.org/" |
pankso@2822 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@2822 | 11 |
pankso@2822 | 12 # Rules to configure and make the package. |
pankso@2822 | 13 compile_rules() |
pankso@2822 | 14 { |
pankso@2822 | 15 cd $src |
pankso@2822 | 16 ./configure \ |
pankso@2822 | 17 --prefix=/usr \ |
pankso@2822 | 18 $CONFIGURE_ARGS && |
pankso@2822 | 19 make && |
pankso@2822 | 20 make DESTDIR=$PWD/_pkg install |
pankso@2822 | 21 } |
pankso@2822 | 22 |
pankso@2822 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2822 | 24 genpkg_rules() |
pankso@2822 | 25 { |
pankso@2822 | 26 mkdir -p $fs/usr |
pankso@2822 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@2822 | 28 } |