wok diff busybox-static/receipt @ rev 7292
Up: openssl to 1.0.0b.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 16 17:19:23 2010 +0000 (2010-11-16) |
parents | 46ca179cb85b |
children | 1a1bfecb4881 |
line diff
1.1 --- a/busybox-static/receipt Mon Nov 15 13:57:23 2010 +0100 1.2 +++ b/busybox-static/receipt Tue Nov 16 17:19:23 2010 +0000 1.3 @@ -6,48 +6,13 @@ 1.4 SHORT_DESC="Busybox combines tiny versions of many common UNIX utilities." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 DEPENDS="" 1.7 -BUILD_DEPENDS="bzip2 uclibc-cross-compiler-i486" 1.8 -SOURCE="busybox" 1.9 -TARBALL="$SOURCE-$VERSION.tar.bz2" 1.10 +WANTED="busybox" 1.11 WEB_SITE="http://www.busybox.net/" 1.12 -WGET_URL="http://www.busybox.net/downloads/$TARBALL" 1.13 CONFIG_FILES="" 1.14 1.15 -# Rules to configure and make the package. 1.16 -compile_rules() 1.17 -{ 1.18 - cd $src 1.19 - while read file; do 1.20 - [ -f done.$file ] && continue 1.21 - echo "Apply $file..." 1.22 - patch -p1 < $WOK/$SOURCE/stuff/$SOURCE-$VERSION-$file || return 1 1.23 - touch done.$file 1.24 - done <<EOT 1.25 -cpio-mkdir.u 1.26 -tar.u 1.27 -stat.u 1.28 -ris.u 1.29 -depmod.u 1.30 -zmodules.u 1.31 -usage.u 1.32 -printable.u 1.33 -EOT 1.34 - cp ../stuff/$SOURCE-$VERSION.config .config 1.35 - make oldconfig 1.36 - if [ "$(gcc --version | awk '{ print $3; exit }')" == "4.5.0" ]; then 1.37 - # "CFLAGS=-O0" is a workaround for GCC 4.5.0 (sed crash) 1.38 - # "CFLAGS=-fno-tree-pta" may be a workaround for GCC 4.5.0 (sed garbage) 1.39 - make -j 4 "CFLAGS=-O0" && make "CFLAGS=-O0" install 1.40 - else 1.41 - make -j 4 && make install 1.42 - fi 1.43 - echo "Chmod 4755 on busybox binary..." 1.44 - chmod 4755 _install/bin/busybox 1.45 -} 1.46 - 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 mkdir -p $fs/usr/share/boot 1.51 - cp -a $src/_install/bin/busybox $fs/usr/share/boot/busybox-static 1.52 + cp -a $src/busybox-static $fs/usr/share/boot 1.53 }