wok annotate lemon/receipt @ rev 3266
epdfview: Add chinese name and comment to epdfview.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:28:27 2009 +0800 (2009-06-02) |
parents | d941c0ee9594 |
children | b4180fb6239f |
rev | line source |
---|---|
pankso@2823 | 1 # SliTaz package receipt. |
pankso@2823 | 2 |
pankso@2823 | 3 PACKAGE="lemon" |
pankso@3157 | 4 VERSION="3.6.14.1" |
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 } |