# $Id$ PNAME="gpgme" PVER="1.9.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.6" SDEPEND=">= app-crypt/libgpg-error-1.19 >= app-crypt/libassuan-2.2 >= dev-libs/pth-2 >= app-crypt/gnupg-2.1" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( #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 }