wok rev 8745

Removed _pkg= and src= lines in sqlite and its wanted receipts.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 19 18:07:11 2011 +0000 (2011-02-19)
parents 6b78f781fc73
children 58d904b1eded
files lemon/receipt libsqlite/receipt sqlite-dev/receipt sqlite/receipt
line diff
     1.1 --- a/lemon/receipt	Sat Feb 19 17:19:11 2011 +0000
     1.2 +++ b/lemon/receipt	Sat Feb 19 18:07:11 2011 +0000
     1.3 @@ -13,8 +13,7 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	src=$WOK/$WANTED/$WANTED-src-${_amalgamationver}
     1.8  	mkdir -p $fs/usr/bin $fs/usr/share/lemon
     1.9 -	cp -a $src/lemon $fs/usr/bin
    1.10 -	cp -a $src/lempar.c $fs/usr/share/lemon
    1.11 +	cp -a $_pkg/usr/bin/lemon $fs/usr/bin
    1.12 +	cp -a $_pkg/usr/share/lemon/lempar.c $fs/usr/share/lemon
    1.13  }
     2.1 --- a/libsqlite/receipt	Sat Feb 19 17:19:11 2011 +0000
     2.2 +++ b/libsqlite/receipt	Sat Feb 19 18:07:11 2011 +0000
     2.3 @@ -7,14 +7,12 @@
     2.4  CATEGORY="office"
     2.5  SHORT_DESC="Small SQL database engine."
     2.6  MAINTAINER="erjo@slitaz.org"
     2.7 -TARBALL="$PACKAGE-src-${_amalgamationver}.zip"
     2.8  WEB_SITE="http://www.sqlite.org/"
     2.9  WANTED="sqlite"
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.12  genpkg_rules()
    2.13  {
    2.14 -	_pkg=$WOK/$WANTED/$WANTED-src-${_amalgamationver}/_pkg
    2.15  	mkdir -p $fs/usr/lib
    2.16  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.17  }
     3.1 --- a/sqlite-dev/receipt	Sat Feb 19 17:19:11 2011 +0000
     3.2 +++ b/sqlite-dev/receipt	Sat Feb 19 18:07:11 2011 +0000
     3.3 @@ -7,13 +7,13 @@
     3.4  CATEGORY="development"
     3.5  SHORT_DESC="Small SQL database engine devel files."
     3.6  MAINTAINER="pankso@slitaz.org"
     3.7 +DEPENDS="sqlite"
     3.8  WANTED="sqlite"
     3.9  WEB_SITE="http://www.sqlite.org/"
    3.10  
    3.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.12  genpkg_rules()
    3.13  {
    3.14 -	_pkg=$WOK/$WANTED/$WANTED-src-${_amalgamationver}/_pkg
    3.15  	mkdir -p $fs/usr/lib
    3.16  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    3.17  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
     4.1 --- a/sqlite/receipt	Sat Feb 19 17:19:11 2011 +0000
     4.2 +++ b/sqlite/receipt	Sat Feb 19 18:07:11 2011 +0000
     4.3 @@ -16,7 +16,6 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -	src=$WOK/$PACKAGE/$PACKAGE-src-${_amalgamationver}
     4.8  	cd $src
     4.9  	
    4.10  	./configure \
    4.11 @@ -38,14 +37,16 @@
    4.12  	sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c
    4.13  	echo -n "Compiling lemon..."
    4.14  	gcc -o lemon lemon.c && status
    4.15 -	
    4.16 +	mkdir -p $PWD/_pkg/usr/share/lemon
    4.17 +	cp -a $src/lemon $PWD/_pkg/usr/bin
    4.18 +	cp -a $src/lempar.c $PWD/_pkg/usr/share/lemon
    4.19  }
    4.20  
    4.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.22  genpkg_rules()
    4.23  {
    4.24 -	_pkg=$WOK/$PACKAGE/$PACKAGE-src-${_amalgamationver}/_pkg
    4.25  	mkdir -p $fs/usr
    4.26  	
    4.27  	cp -a $_pkg/usr/bin $fs/usr
    4.28 +	[ -f $fs/usr/bin/lemon ] && rm -f $fs/usr/bin/lemon
    4.29  }