PATCH_LIST="bash30-001 bash30-002 bash30-003 bash30-004 bash30-005 bash30-006 bash30-007 bash30-008 bash30-009 bash30-010 bash30-011 bash30-012 bash30-013 bash30-014 bash30-015 bash30-016 disable-size.diff" SRC_FETCH_METHOD="http" SRC_FETCH_PATH="ftp://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz" MAKEDEPENDS=( 'ncurses-*:::*.so *.so.* *.h' 'readline-*:::*.so *.so.* *.h' ) PATCH_LEVEL=0 function do_config { CFLAGS="$GCC_OPT_FAST $GCC_ARCH_COMMON $GCC_CPU_COMMON" \ ./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc --enable-alias --enable-arith-for-command --enable-array-variables --enable-brace-expansion --enable-command-timing --enable-cond-command --enable-cond-regexp --enable-debugger --enable-directory-stack --enable-dparen-arithmetic --enable-extended-glob --enable-history --enable-job-control --disable-multibyte --enable-net-redirections --enable-process-substitution --enable-progcomp --enable-prompt-string-decoding --enable-readline --enable-restricted --enable-select --enable-xpg-echo-default --disable-nls --with-installed-readline=$FLXROOTDIR/usr --without-bash-malloc --disable-rpath --build=$FLXARCH --host=$FLXTARG } function do_compile_only { $FLXMAKE HISTORY_LIB=-lreadline } function do_prepack { $FLXMAKE install prefix=$ROOTDIR/usr bindir=$ROOTDIR/bin sysconfdir=$ROOTDIR/etc cp doc/bash.1 doc/bashbug.1 doc/builtins.1 doc/rbash.1 $ROOTDIR/usr/man/man1/ cd $ROOTDIR/bin ln -s bash sh set_default_perm $ROOTDIR }