wok-6.x annotate re2c/receipt @ rev 6351
Up: git to 1.7.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Sep 20 21:24:35 2010 +0000 (2010-09-20) |
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 } |