# packages/mdadm/auxbuild
#

# download and unpack tarball
TARVERSION="2.6.4"
TARDIR="${BUILD_PACKAGE}-${TARVERSION}"
TARBALL="${TARDIR}.tar.bz2"
build_download "http://www.kernel.org/pub/linux/utils/raid/mdadm/${TARBALL}"
build_unpack "${TARBALL}"
PKGDIR="${TARDIR}"

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

export CROSS_COMPILE="${ARCH_CC_PREFIX}"

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

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