wok-next annotate lemon/receipt @ rev 4941
add/improve TAGS j* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Feb 16 15:44:25 2010 +0000 (2010-02-16) |
parents | b4180fb6239f |
children | 5144a898a64e |
rev | line source |
---|---|
pankso@2823 | 1 # SliTaz package receipt. |
pankso@2823 | 2 |
pankso@2823 | 3 PACKAGE="lemon" |
pankso@3633 | 4 VERSION="3.6.16" |
pankso@2823 | 5 CATEGORY="system-tools" |
pankso@2823 | 6 SHORT_DESC="The LEMON Parser Generator (from the SQLite project)." |
pankso@2823 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2823 | 8 WANTED="sqlite" |
pankso@2823 | 9 WEB_SITE="http://www.sqlite.org/" |
pankso@2823 | 10 |
pankso@2823 | 11 # Rules to configure and make the package. |
pankso@2823 | 12 compile_rules() |
pankso@2823 | 13 { |
pankso@2823 | 14 mkdir -p lemon-$VERSION && cd lemon-$VERSION |
pankso@2823 | 15 cp $src/tool/lemon.c . |
pankso@2823 | 16 cp $src/tool/lempar.c . |
pankso@2823 | 17 sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c |
pankso@2823 | 18 echo -n "Compiling lemon..." |
pankso@2823 | 19 gcc -o lemon lemon.c && status |
pankso@2823 | 20 } |
pankso@2823 | 21 |
pankso@2823 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2823 | 23 genpkg_rules() |
pankso@2823 | 24 { |
pankso@2823 | 25 mkdir -p $fs/usr/bin $fs/usr/share/lemon |
pankso@2823 | 26 cp lemon-$VERSION/lemon $fs/usr/bin |
pankso@2823 | 27 cp lemon-$VERSION/lempar.c $fs/usr/share/lemon |
pankso@2823 | 28 } |