# packages/minicom/auxbuild
#

# download and unpack tarball
TARVERSION="2.5"
TARDIR="${BUILD_PACKAGE}-${TARVERSION}"
TARBALL="${TARDIR}.tar.gz"

STUPID_NUM="3487"

build_download "http://alioth.debian.org/frs/download.php/${STUPID_NUM}/${TARBALL}"
build_unpack "${TARBALL}"

# invoke configure (directory, prefix, extra arguments)
build_autoconf "${TARDIR}" "" "--sysconfdir=/etc/minicom --disable-nls"

# run make, make install (directory, extra arguments)
build_make "${TARDIR}"
build_make "${TARDIR}" "install"

# strip the executable files
strip_files

# prepare for wrapper script
BINFILE="${BUILDROOT}/usr/bin/minicom"
mv "${BINFILE}" "${BINFILE}.bin"

# copy across static content
cp -a static/* "${BUILDROOT}"

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