wok-next diff lemon/receipt @ rev 6540

Disable chain-cook & add +build option for genpkg only
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Oct 07 02:09:49 2010 +0200 (2010-10-07)
parents 5144a898a64e
children 17129723bbc4
line diff
     1.1 --- a/lemon/receipt	Wed Apr 28 12:32:25 2010 +0000
     1.2 +++ b/lemon/receipt	Thu Oct 07 02:09:49 2010 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lemon"
     1.7 -VERSION="3.6.23.1"
     1.8 +VERSION="3.7.2"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="The LEMON Parser Generator (from the SQLite project)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -11,7 +11,7 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	mkdir -p lemon-$VERSION && cd lemon-$VERSION
    1.17 +	mkdir -p sqlite-$VERSION && cd sqlite-$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 @@ -23,6 +23,6 @@
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/bin $fs/usr/share/lemon
    1.25 -	cp lemon-$VERSION/lemon $fs/usr/bin
    1.26 -	cp lemon-$VERSION/lempar.c $fs/usr/share/lemon
    1.27 +	cp sqlite-$VERSION/lemon $fs/usr/bin
    1.28 +	cp sqlite-$VERSION/lempar.c $fs/usr/share/lemon
    1.29  }