wok-6.x rev 1449
lzma: build in , not /
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 10:37:53 2008 +0000 (2008-10-03) |
parents | eda192ad5630 |
children | 7869c27eeaf7 |
files | lzma/receipt |
line diff
1.1 --- a/lzma/receipt Fri Oct 03 10:34:56 2008 +0000 1.2 +++ b/lzma/receipt Fri Oct 03 10:37:53 2008 +0000 1.3 @@ -13,9 +13,17 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - ln -sf . $src 1.8 + mkdir -p $src 1.9 + cd $src 1.10 + for i in ../* ; do 1.11 + case "$i" in 1.12 + ../receipt*|../taz|../stuff|../process.log);; 1.13 + ../$(basename $src));; 1.14 + *) mv $i .;; 1.15 + esac 1.16 + done 1.17 if [ ! -f done.lzlib.u ]; then 1.18 - patch -p0 < stuff/lzlib.u || return 1 1.19 + patch -p0 < ../stuff/lzlib.u || return 1 1.20 touch done.lzlib.u 1.21 fi 1.22 cd CPP/7zip/Compress/LZMA_Alone 1.23 @@ -28,6 +36,6 @@ 1.24 genpkg_rules() 1.25 { 1.26 mkdir -p $fs/usr/bin 1.27 - cp -a CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma 1.28 + cp -a $src/CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma 1.29 } 1.30