wok-6.x diff lemon/receipt @ rev 2855
Fix: wicd for udhcpc
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri May 01 12:08:02 2009 +0000 (2009-05-01) |
parents | |
children | 9480eae25c4a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lemon/receipt Fri May 01 12:08:02 2009 +0000 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lemon" 1.7 +VERSION="3.6.10" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="The LEMON Parser Generator (from the SQLite project)." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="sqlite" 1.12 +WEB_SITE="http://www.sqlite.org/" 1.13 + 1.14 +# Rules to configure and make the package. 1.15 +compile_rules() 1.16 +{ 1.17 + mkdir -p lemon-$VERSION && cd lemon-$VERSION 1.18 + cp $src/tool/lemon.c . 1.19 + cp $src/tool/lempar.c . 1.20 + sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c 1.21 + echo -n "Compiling lemon..." 1.22 + gcc -o lemon lemon.c && status 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/bin $fs/usr/share/lemon 1.29 + cp lemon-$VERSION/lemon $fs/usr/bin 1.30 + cp lemon-$VERSION/lempar.c $fs/usr/share/lemon 1.31 +}