# $Id$ PNAME="gpgme" PVER="1.12.0" PBUILD="r1" PCAT="app-crypt" DESCRIPTION="GPGME (GnuPG Made Easy) - an interface library for application access for GnuPG." HOMEPAGE="http://www.gnupg.org/related_software/gpgme/index.en.html" DEPEND=">= app-crypt/libgcrypt-1.8" SDEPEND=">= app-crypt/libgpg-error-1.32 >= app-crypt/libassuan-2.5 >= dev-libs/pth-2 >= app-crypt/gnupg-2.2" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( https://gnupg.org/ftp/gcrypt/${PNAME}/${SRCFILE} #ftp://ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} #ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://www.gnupg.org/download/index.en.html | grep ${PNAME}-[0-9] |lasttarball" src_compile() { cd ${SRCDIR} mconfigure \ --includedir=/usr/include/${PNAME} \ --libexecdir=/usr/$(mlibdir)/${PNAME} \ --with-pth=yes \ --with-gpg=/usr/bin/gpg \ --with-gpgsm=/usr/bin/gpgsm \ || die mmake || die }