wok diff db/receipt @ rev 1554

db nbs: abort on wget failure
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 12 09:57:17 2008 +0000 (2008-10-12)
parents fd4eda949f1e
children 749730241669
line diff
     1.1 --- a/db/receipt	Fri Oct 03 16:03:56 2008 +0000
     1.2 +++ b/db/receipt	Sun Oct 12 09:57:17 2008 +0000
     1.3 @@ -17,13 +17,13 @@
     1.4  
     1.5  	ln -s $PACKAGE-$VERSION.NC $src
     1.6  	cd $src
     1.7 -	wget  http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1
     1.8 +	wget  http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1
     1.9  	[ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1
    1.10  	touch done.patch.4.5.20.1
    1.11  	cd build_unix
    1.12  	../dist/configure --prefix=/usr --infodir=/usr/share/info \
    1.13 -		--mandir=/usr/share/man $CONFIGURE_ARGS
    1.14 -	make
    1.15 +		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.16 +	make &&
    1.17  	make DESTDIR=$PWD/../_pkg install
    1.18  }
    1.19