SRC_FETCH_PATH="http://ftp.gnu.org/pub/gnu/gmp/gmp-4.2.4.tar.gz" SRC_FETCH_METHOD="http" PATCH_LIST= FILE_LIST= case "$FLXARCH" in i?86|sparc) ABI=32 ;; x86_64|sparc64|alpha*) ABI=64 ;; arm) ABI=standard ;; *) ABI=standard ;; esac function do_config { # Sometimes, broken packages will need LD="$CC" CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ ABI="$ABI" \ CFLAGS="$GCC_ARCH_CURRENT $GCC_CPU_CURRENT $GCC_OPT_CURRENT" \ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-nls --disable-locale \ --host=$FLXTARG --build=$FLXHOST } function do_compile_only { # standard make $FLXMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR }