wok annotate re2c/receipt @ rev 12265
mpfr add fixes patch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 12 14:35:51 2012 +0200 (2012-04-12) |
parents | ac4a4ec1c9e1 |
children | 23c3aed67cd9 |
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" |
jozee@4972 | 11 TAGS="scanner" |
pankso@2822 | 12 |
pankso@2822 | 13 # Rules to configure and make the package. |
pankso@2822 | 14 compile_rules() |
pankso@2822 | 15 { |
pankso@2822 | 16 cd $src |
pankso@2822 | 17 ./configure \ |
pankso@2822 | 18 --prefix=/usr \ |
pankso@2822 | 19 $CONFIGURE_ARGS && |
pankso@2822 | 20 make && |
pankso@2822 | 21 make DESTDIR=$PWD/_pkg install |
pankso@2822 | 22 } |
pankso@2822 | 23 |
pankso@2822 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2822 | 25 genpkg_rules() |
pankso@2822 | 26 { |
pankso@2822 | 27 mkdir -p $fs/usr |
pankso@2822 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@2822 | 29 } |