wok diff lemon/receipt @ rev 7239

Fixed wanted linux receipts to remove modules that are in modules-VERSION.list if they exist in other packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 13 03:27:43 2010 +0000 (2010-11-13)
parents 17129723bbc4
children a7c1367aeeaf
line diff
     1.1 --- a/lemon/receipt	Fri Oct 08 16:36:42 2010 +0000
     1.2 +++ b/lemon/receipt	Sat Nov 13 03:27:43 2010 +0000
     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  }