wok-stable diff p7zip-full/receipt @ rev 1444

Fix: firefox BUILD_DEPENDS.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Oct 02 23:50:41 2008 +0200 (2008-10-02)
parents f1362553414e
children f74dc451a4f8
line diff
     1.1 --- a/p7zip-full/receipt	Wed Jul 30 19:16:11 2008 +0200
     1.2 +++ b/p7zip-full/receipt	Thu Oct 02 23:50:41 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 -