wok rev 1192

Fix: now p7zip can deal with Rer files.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 05 01:13:25 2008 +0200 (2008-08-05)
parents 98a84b65417d
children 7a35811f4574
files p7zip-full/receipt
line diff
     1.1 --- a/p7zip-full/receipt	Tue Aug 05 00:37:08 2008 +0200
     1.2 +++ b/p7zip-full/receipt	Tue Aug 05 01:13:25 2008 +0200
     1.3 @@ -6,7 +6,6 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="A file archiver with a high compression ratio (full version with restricted codecs)"
     1.6  MAINTAINER="milka@konstelacioj.info"
     1.7 -#DEPENDS=""
     1.8  TARBALL="${SOURCE}_${VERSION}_src_all.tar.bz2"
     1.9  WEB_SITE="http://p7zip.sourceforge.net/"
    1.10  WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.11 @@ -17,14 +16,19 @@
    1.12  	mv "$SOURCE"_"$VERSION" $src
    1.13  	cd $src
    1.14  	make all3
    1.15 +	make DEST_HOME=$PWD/_pkg/usr install
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p $fs/usr
    1.22 -	cp -a $src/bin $fs/usr
    1.23 -	strip -s $fs/usr/bin/*
    1.24 +	cp -a $_pkg/usr/bin $fs/usr
    1.25 +	cp -a $_pkg/usr/lib $fs/usr
    1.26 +	
    1.27 +	# Fix pathname in 7z scripts
    1.28 +	sed -i -e "s#$_pkg##" $fs/usr/bin/7z 
    1.29 +	sed -i -e "s#$_pkg##" $fs/usr/bin/7za
    1.30 +	sed -i -e "s#$_pkg##" $fs/usr/bin/7zr
    1.31  }
    1.32  
    1.33 -