#!/bin/bash for pkg in autoconf automake bash binutils bison bootscripts bzip2 cloog coreutils dejagnu dhcpcd diffutils e2fsprogs eglibc expect file findutils flex gawk gcc gettext gmp grep groff gzip hfsutils iana-etc iproute2 iputils kbd kmod less libee libestr libtool linux m4 make man man-pages mpc mpfr ncurses parted powerpcutils patch perl pkg-config ppl procps psmisc readline rsyslog sed shadow sysvinit tar tcl texinfo udev vim xz yaboot zlib; do upkg=`echo $pkg | sed 's/./\u&/g'` build=build SRCDIR=SRCDIR echo -e " '$pkg')\n echo 'cd .. && rm -rf $pkg-\$$upkg' >> \$$SRCDIR/\$$build.sh;\n ;;"; done