# $Id$ PNAME="gnutls" PVER="3.6.6" PBUILD="r1" PCAT="app-crypt" DESCRIPTION="The GNU Transport Layer Security Library." HOMEPAGE="http://www.gnu.org/software/gnutls/" DEPEND=">= sys-libs/libstdc++-8.1 >= sys-libs/zlib-1.2.5 >= dev-libs/gmp-6.1 >= app-crypt/libtasn1-4.13 >= app-crypt/p11-kit-0.23 >= app-crypt/nettle-3.4 >= net-dns/libidn-1.35" SDEPEND=">= sys-dev/gettext-0.18" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" EMUL_LINUX_32=true sminclude multilib mtools mbuild msetfeature "!check" SRC_URI=( ftp://ftp.gnutls.org/gcrypt/${PNAME}/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2URI="ftp://ftp.gnutls.org/gcrypt/${PNAME}" UP2DATE="updatecmd ${UP2URI}/v$(updatecmd -listonly ${UP2URI} | grep 'v[0-9]' | sed 's:.*v\(.*\)/:\1:' | upsort_pipe) | highesttarball xz" src_compile() { mconfigure \ --with-p11-kit \ --with-zlib \ --disable-guile \ --disable-gtk-doc \ --with-included-unistring \ || die mmake || die }