wok-4.x rev 9447

Fix p7zip-full path error
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Apr 02 12:48:28 2011 +0200 (2011-04-02)
parents 7299f106a36e
children 4cce8b7db8cf
files p7zip-full/receipt
line diff
     1.1 --- a/p7zip-full/receipt	Fri Apr 01 22:09:09 2011 +0000
     1.2 +++ b/p7zip-full/receipt	Sat Apr 02 12:48:28 2011 +0200
     1.3 @@ -15,7 +15,7 @@
     1.4  {
     1.5  	cd $src
     1.6  	make all3
     1.7 -	make DEST_HOME=$PWD/_pkg/usr install
     1.8 +	make DEST_HOME=$DESTDIR/usr install
     1.9  }
    1.10  
    1.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.12 @@ -26,8 +26,7 @@
    1.13  	cp -a $_pkg/usr/lib $fs/usr
    1.14  	
    1.15  	# Fix pathname in 7z scripts
    1.16 -	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7z 
    1.17 -	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7za
    1.18 -	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7zr
    1.19 +	sed -i -e "s#.*$_pkg#\"#" $fs/usr/bin/7z \
    1.20 +		$fs/usr/bin/7za $fs/usr/bin/7zr
    1.21  }
    1.22