wok-4.x view re2c/receipt @ rev 9051
squid-custom-errors: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 11:06:52 2011 +0100 (2011-03-04) |
parents | ac4a4ec1c9e1 |
children |
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 }