# packages/gnutls/auxbuild
#

# download and unpack tarball
TARVERSION="3.3.14"
TARDIR="${BUILD_PACKAGE}-${TARVERSION}"
TARBALL="${TARDIR}.tar.xz"
build_download "http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnutls/v3.3/${TARBALL}"
build_unpack "${TARBALL}"
PKGDIR="${TARDIR}"

# invoke configure (directory, prefix, extra arguments)
export NETTLE_CFLAGS=" "
export NETTLE_LIBS="-lnettle"
export HOGWEED_CFLAGS=" "
export HOGWEED_LIBS="-lhogweed -lgmp"
build_autoconf "${PKGDIR}" "" ""

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

build_strip

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