# packages/libevent/auxbuild
#

# download and unpack tarball
TARVERSION="1.4.9"
TARDIR="${BUILD_PACKAGE}-${TARVERSION}-stable"
TARBALL="${TARDIR}.tar.gz"
build_download "http://monkey.org/~provos/${TARBALL}"
build_unpack "${TARBALL}"

# invoke configure (directory, prefix, extra arguments)
build_autoconf "${TARDIR}"

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

# libevent = libevent_core + libevent_extra
rm ${BUILDROOT}/usr/lib*/libevent_*
rm ${BUILDROOT}/usr/bin/event_rpcgen.py

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