# packages/ncurses/auxbuild
#

# download and unpack tarball
VERSION="5.6"
TARDIR="${BUILD_PACKAGE}-${VERSION}"
TARBALL="${TARDIR}.tar.gz"
build_download "ftp://ftp.gnu.org/pub/gnu/ncurses/${TARBALL}"
build_unpack "${TARBALL}"

# invoke autoconf
mkdir -p "${BUILDROOT}"{/bin,/usr/lib}
build_autoconf "${TARDIR}" "/" "--with-shared --without-cxx --without-ada --without-debug --enable-symlinks"

# invoke make
build_make "${TARDIR}"
build_make "${TARDIR}" "install"

# vim: ts=4:sw=4:expandtab:syntax=sh
