# packages/pcmciautils/auxbuild
#

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

# apply patches matching pattern (repository, patch prefix)
build_patch "${PKGDIR}" "*.patch"

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

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