wok-6.x diff lemon/receipt @ rev 7163

linmodem-hsfmodem: do not assume build host kernel is up to date
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 07 16:40:05 2010 +0100 (2010-11-07)
parents 17129723bbc4
children a7c1367aeeaf
line diff
     1.1 --- a/lemon/receipt	Fri Oct 08 16:36:42 2010 +0000
     1.2 +++ b/lemon/receipt	Sun Nov 07 16:40:05 2010 +0100
     1.3 @@ -5,31 +5,13 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="The LEMON Parser Generator (from the SQLite project)."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +WEB_SITE="http://www.sqlite.org/"
     1.8  WANTED="sqlite"
     1.9 -WEB_SITE="http://www.sqlite.org/"
    1.10 -
    1.11 -# Rules to configure and make the package.
    1.12 -compile_rules()
    1.13 -{
    1.14 -	mkdir -p sqlite-$VERSION && cd sqlite-$VERSION
    1.15 -	cp $src/tool/lemon.c .
    1.16 -	cp $src/tool/lempar.c .
    1.17 -	sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c
    1.18 -	echo -n "Compiling lemon..."
    1.19 -	gcc -o lemon lemon.c && status
    1.20 -}
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	
    1.26  	mkdir -p $fs/usr/bin $fs/usr/share/lemon
    1.27 -	if [ ! -d sqlite-$VERSION ]; then
    1.28 -		tazwok compile $PACKAGE
    1.29 -		cp sqlite-$VERSION/lemon $fs/usr/bin
    1.30 -		cp sqlite-$VERSION/lempar.c $fs/usr/share/lemon
    1.31 -	elif [ -d sqlite-$VERSION ]; then
    1.32 -		cp sqlite-$VERSION/lemon $fs/usr/bin
    1.33 -		cp sqlite-$VERSION/lempar.c $fs/usr/share/lemon
    1.34 -	fi
    1.35 +	cp -a $src/lemon $fs/usr/bin
    1.36 +	cp -a $src/lempar.c $fs/usr/share/lemon
    1.37  }