# packages/i2c-tools/auxbuild
#

# download and unpack tarball
TARVERSION="3.0.1"
TARDIR="${BUILD_PACKAGE}-${TARVERSION}"
TARBALL="${TARDIR}.tar.bz2"
build_download "http://dl.lm-sensors.org/i2c-tools/releases/${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-tools"
build_make "${PKGDIR}" "install-eepromer"

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