wok-current diff diffutils/receipt @ rev 8932

kqemu is depredicated
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 12:32:50 2011 +0100 (2011-03-01)
parents 6dc7a4df1585
children ddb3260c079e
line diff
     1.1 --- a/diffutils/receipt	Wed May 05 18:20:59 2010 +0000
     1.2 +++ b/diffutils/receipt	Tue Mar 01 12:32:50 2011 +0100
     1.3 @@ -24,3 +24,16 @@
     1.4  	mkdir -p $fs/usr
     1.5  	cp -a $_pkg/usr/bin $fs/usr
     1.6  }
     1.7 +
     1.8 +# Overlap busybox
     1.9 +pre_install()
    1.10 +{
    1.11 +	rm -f $1/usr/bin/diff
    1.12 +	rm -f $1/usr/bin/cmp
    1.13 +}
    1.14 +
    1.15 +post_remove()
    1.16 +{
    1.17 +	ln -s /bin/busybox /usr/bin/diff
    1.18 +	ln -s /bin/busybox /usr/bin/cmp
    1.19 +}