wok diff lzma/receipt @ rev 1166

postfix: fix depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 30 12:09:40 2008 +0000 (2008-07-30)
parents 49a50d5d40c5
children e64f8e87ea6d
line diff
     1.1 --- a/lzma/receipt	Fri Feb 15 16:59:01 2008 +0100
     1.2 +++ b/lzma/receipt	Wed Jul 30 12:09:40 2008 +0000
     1.3 @@ -8,12 +8,16 @@
     1.4  TARBALL="lzma$(echo $VERSION | sed 's/\.//').tar.bz2"
     1.5  WEB_SITE="http://sourceforge.net/projects/sevenzip/"
     1.6  WGET_URL="$SF_MIRROR/sevenzip/$TARBALL"
     1.7 +DEPENDS="lzlib"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12 +	ln -sf . $src
    1.13 +	patch -p0 < stuff/lzlib.u || return 1
    1.14  	cd CPP/7zip/Compress/LZMA_Alone
    1.15 -	make -f makefile.gcc
    1.16 +	make -f makefile.gcc lzma
    1.17 +	make -f makefile.gcc liblz.so.1.0.0
    1.18  }
    1.19  
    1.20  
    1.21 @@ -21,7 +25,6 @@
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/bin
    1.25 -	cp -a CPP/7zip/Compress/LZMA_Alone/lzma $fs/usr/bin
    1.26 -	strip -s $fs/usr/bin/*
    1.27 +	cp -a CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma
    1.28  }
    1.29