wok rev 9682

lzma: needs $stuff.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 06 21:16:41 2011 +0000 (2011-05-06)
parents b928bf8e5612
children 31974934cb2a
files lzma/receipt
line diff
     1.1 --- a/lzma/receipt	Fri May 06 17:33:24 2011 +0000
     1.2 +++ b/lzma/receipt	Fri May 06 21:16:41 2011 +0000
     1.3 @@ -49,7 +49,7 @@
     1.4  {
     1.5  	cd $src
     1.6  	if [ ! -f done.lzlib.u ]; then
     1.7 -		patch -p0 < ../stuff/lzlib.u || return 1
     1.8 +		patch -p0 < $stuff/lzlib.u || return 1
     1.9  		touch done.lzlib.u
    1.10  	fi
    1.11  	cd CPP/7zip/Compress/LZMA_Alone
    1.12 @@ -68,7 +68,7 @@
    1.13  {
    1.14  	mkdir -p $fs/usr/bin
    1.15  	cp -a $src/CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma-alone
    1.16 -	cp stuff/lzma $fs/usr/bin
    1.17 +	cp $stuff/lzma $fs/usr/bin
    1.18  	chmod 755 $fs/usr/bin/lzma
    1.19  	ln -s lzma $fs/usr/bin/unlzma
    1.20  	ln -s lzma $fs/usr/bin/lzcat
    1.21 @@ -90,6 +90,6 @@
    1.22  
    1.23  post_remove()
    1.24  {
    1.25 -	ln -s /bin/busybox /usr/bin/unlzma
    1.26 -	ln -s /bin/busybox /usr/bin/lzcat
    1.27 +	ln -s /bin/busybox $1/usr/bin/unlzma
    1.28 +	ln -s /bin/busybox $1/usr/bin/lzcat
    1.29  }