wok view lemon/receipt @ rev 3930

Update: binutils (toolprefixed binaries with default binutil symlinks; needed for builds expecting toolprefixed binutil binaries when a target platform [e.g. i486-pc-linux-gnu] is specified)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Aug 19 16:02:07 2009 +0000 (2009-08-19)
parents b4180fb6239f
children 5144a898a64e
line source
1 # SliTaz package receipt.
3 PACKAGE="lemon"
4 VERSION="3.6.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="The LEMON Parser Generator (from the SQLite project)."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="sqlite"
9 WEB_SITE="http://www.sqlite.org/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 mkdir -p lemon-$VERSION && cd lemon-$VERSION
15 cp $src/tool/lemon.c .
16 cp $src/tool/lempar.c .
17 sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c
18 echo -n "Compiling lemon..."
19 gcc -o lemon lemon.c && status
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/lemon
26 cp lemon-$VERSION/lemon $fs/usr/bin
27 cp lemon-$VERSION/lempar.c $fs/usr/share/lemon
28 }