wok-6.x annotate lemon/receipt @ rev 2857
fix: skype for no sound
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri May 01 12:13:47 2009 +0000 (2009-05-01) |
parents | |
children | 9480eae25c4a |
rev | line source |
---|---|
pankso@2823 | 1 # SliTaz package receipt. |
pankso@2823 | 2 |
pankso@2823 | 3 PACKAGE="lemon" |
pankso@2823 | 4 VERSION="3.6.10" |
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 } |