PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="http://busybox.net/downloads/busybox-1.16.1.tar.bz2" MAKEDEPENDS= function do_config { cp .flxpkg/add-ons/CONFIG .config } function do_compile_only { $FLXMAKE CC=$CC CXX=$CXX LD=$LD \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" STRIP="$STRIP" V=1 } function do_prepack { $FLXMAKE install CONFIG_PREFIX=$ROOTDIR V=1 CC=$CC CXX=$CXX LD=$LD \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" STRIP="$STRIP" rm $ROOTDIR/usr/bin/readlink rm $ROOTDIR/usr/bin/sha1sum rm $ROOTDIR/usr/bin/tty rm $ROOTDIR/usr/bin/yes ln -s busybox $ROOTDIR/bin/readlink ln -s busybox $ROOTDIR/bin/sha1sum ln -s busybox $ROOTDIR/bin/tty ln -s busybox $ROOTDIR/bin/yes }