wok diff sqlite/receipt @ rev 11020

get-virtualbox: update error message
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 14 17:03:16 2011 +0200 (2011-10-14)
parents 3ad02cc229e4
children 017ae4c07215
line diff
     1.1 --- a/sqlite/receipt	Tue Apr 12 12:13:42 2011 +0000
     1.2 +++ b/sqlite/receipt	Fri Oct 14 17:03:16 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sqlite"
     1.7 -_amalgamationver=3070600
     1.8 +_amalgamationver=3070603
     1.9  _amalgamationver2=${_amalgamationver/00/}
    1.10  VERSION="${_amalgamationver2//0/.}"
    1.11  CATEGORY="office"
    1.12 @@ -28,7 +28,7 @@
    1.13  	sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool &&
    1.14    	sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool &&
    1.15  	make &&
    1.16 -	make DESTDIR=$PWD/_pkg install
    1.17 +	make DESTDIR=$DESTDIR install
    1.18  	# compile lemon here instead of in lemon
    1.19  	if [ -f $src/lemon ]; then
    1.20  		rm $src/lemon
    1.21 @@ -37,9 +37,9 @@
    1.22  	sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c
    1.23  	echo -n "Compiling lemon..."
    1.24  	gcc -o lemon lemon.c && status
    1.25 -	mkdir -p $PWD/_pkg/usr/share/lemon
    1.26 -	cp -a $src/lemon $PWD/_pkg/usr/bin
    1.27 -	cp -a $src/lempar.c $PWD/_pkg/usr/share/lemon
    1.28 +	mkdir -p $DESTDIR/usr/share/lemon
    1.29 +	cp -a $src/lemon $DESTDIR/usr/bin
    1.30 +	cp -a $src/lempar.c $DESTDIR/usr/share/lemon
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.