wok-current view re2c/receipt @ rev 2950

ecore: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 08 13:46:20 2009 +0200 (2009-05-08)
parents
children 8be66f03fbd2
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }