# HG changeset patch # User Pascal Bellard # Date 1280250276 -7200 # Node ID 159201c9a50fa3a15a6627ba544e07c32dbc5757 # Parent 782eb7d921f340af66c126596adc0f47e75c4f64 icedtea6-jdk: do not use busybox find or awk diff -r 782eb7d921f3 -r 159201c9a50f icedtea6-jdk/receipt --- a/icedtea6-jdk/receipt Tue Jul 27 14:27:30 2010 +0200 +++ b/icedtea6-jdk/receipt Tue Jul 27 19:04:36 2010 +0200 @@ -7,7 +7,7 @@ SHORT_DESC="A Free Software harness for OpenJDK." MAINTAINER="rcx@zoominternet.net" DEPENDS="icedtea6-jre glibc-base zlib xorg-libX11 xorg-libXau xorg-libXdmcp" -BUILD_DEPENDS="gcc+gcj slitaz-toolchain autoconf automake m4 \ +BUILD_DEPENDS="gcc+gcj slitaz-toolchain autoconf automake m4 diffutils gawk \ coreutils-file-special coreutils-file-summarize alsa-lib-dev cups-dev \ gawk file patch findutils perl zip unzip bzip2 tar cpio glib-dev zlib-dev \ fastjar rhino ecj apache-ant xalan-xerces-j \ @@ -28,10 +28,13 @@ # NOTE: This build does not seem to work with ECJ 3.5 cd $src + [ -L /usr/bin/diff ] && tazpkg get-install diffutils --forced + [ -L /usr/bin/awk ] && tazpkg get-install gawk --forced + mem=$(free | awk '/Mem:/ { printf "%d\n",$2/1024 }') cat > slitaz.sh <