wok diff busybox-static/receipt @ rev 19901

Up: sqlite (3.18.0)
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 08 21:42:14 2017 +0000 (2017-04-08)
parents 9c81bcc2a3b7
children 82be380ad907
line diff
     1.1 --- a/busybox-static/receipt	Wed Jan 11 10:36:15 2017 +0100
     1.2 +++ b/busybox-static/receipt	Sat Apr 08 21:42:14 2017 +0000
     1.3 @@ -6,11 +6,12 @@
     1.4  SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 -DEPENDS=""
     1.8 -WANTED="busybox"
     1.9  WEB_SITE="http://www.busybox.net/"
    1.10  CONFIG_FILES=""
    1.11  
    1.12 +WANTED="busybox"
    1.13 +DEPENDS=""
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18 @@ -18,8 +19,10 @@
    1.19  	CHOICE=static
    1.20  	for i in uclibc musl diet ; do
    1.21  		[ -x $src/busybox-$i ] || continue
    1.22 -		[ $(stat -c %s $src/busybox-$i) -lt \
    1.23 -	          $(stat -c %s $src/busybox-$CHOICE) ] &&
    1.24 +		[ -x $src/busybox-$CHOICE ] &&
    1.25 +			[ $(stat -c %s $src/busybox-$i) -ge \
    1.26 +			  $(stat -c %s $src/busybox-$CHOICE) ] &&
    1.27 +			continue
    1.28  		CHOICE=$i
    1.29  	done
    1.30  	cp -a $src/busybox-$CHOICE $fs/usr/share/boot/busybox-static
    1.31 @@ -27,5 +30,5 @@
    1.32  
    1.33  post_install()
    1.34  {
    1.35 -    chmod 4755 "$1/usr/share/boot/busybox-static"
    1.36 +	chmod 4755 "$1/usr/share/boot/busybox-static"
    1.37  }