# $Id$ PNAME="gnutls" PVER="3.5.14" PBUILD="r2" PCAT="app-crypt" DESCRIPTION="The GNU Transport Layer Security Library." HOMEPAGE="http://www.gnu.org/software/gnutls/" DEPEND=">= sys-libs/libstdc++-5.3 >= sys-libs/zlib-1.2.5 >= dev-libs/gmp-6.0 >= app-crypt/libtasn1-4.5 >= app-crypt/nettle-3.1 >= net-dns/libidn-1.30" ALX_DEV_DEPEND=">= sys-libs/libstdc++-dev-5.3 >= sys-libs/zlib-dev-1.2.5 >= dev-libs/gmp-dev-6.0 >= app-crypt/libtasn1-dev-4.5 >= app-crypt/nettle-dev-3.1 >= net-dns/libidn-dev-1.30" SDEPEND=">= sys-dev/gettext-0.18 ${ALX_DEV_DEPEND}" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" EMUL_LINUX_32=true sminclude mtools mbuild multilib alx-split msetfeature "!check" SRC_URI=( ftp://ftp.gnutls.org/gcrypt/${PNAME}/v${PVER%.*}/${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 \ --without-p11-kit \ --with-zlib \ --disable-guile \ --disable-gtk-doc \ --with-included-unistring \ || die mmake || die }