wok-current rev 2412

bristuff, squashfs, db: check for patch package
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 10 11:52:45 2009 +0000 (2009-03-10)
parents ec72a3b325c3
children ac3025c2f81a
files bristuff/receipt db/receipt squashfs/receipt
line diff
     1.1 --- a/bristuff/receipt	Tue Mar 10 11:36:32 2009 +0100
     1.2 +++ b/bristuff/receipt	Tue Mar 10 11:52:45 2009 +0000
     1.3 @@ -42,6 +42,10 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	if [ -L $(which patch) ]; then
     1.8 +		echo "Please reinstall patch !"
     1.9 +		return 1
    1.10 +	fi
    1.11  	if [ ! -d ../linux/taz ]; then
    1.12  		tazwok cook linux
    1.13  	fi
     2.1 --- a/db/receipt	Tue Mar 10 11:36:32 2009 +0100
     2.2 +++ b/db/receipt	Tue Mar 10 11:52:45 2009 +0000
     2.3 @@ -14,7 +14,10 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -
     2.8 +	if [ -L $(which patch) ]; then
     2.9 +		echo "Please reinstall patch !"
    2.10 +		return 1
    2.11 +	fi
    2.12  	ln -s $PACKAGE-$VERSION.NC $src
    2.13  	cd $src
    2.14  	wget  http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1
     3.1 --- a/squashfs/receipt	Tue Mar 10 11:36:32 2009 +0100
     3.2 +++ b/squashfs/receipt	Tue Mar 10 11:52:45 2009 +0000
     3.3 @@ -31,6 +31,10 @@
     3.4  	local kver
     3.5  	local patch_dir
     3.6  
     3.7 +	if [ -L $(which patch) ]; then
     3.8 +		echo "Please reinstall patch !"
     3.9 +		return 1
    3.10 +	fi
    3.11  	mkdir -p $src
    3.12  	cd $src
    3.13  	mv ../$PACKAGE$VERSION . 2> /dev/null