# $Id$ PNAME="gpgme" PVER="1.3.1" PBUILD="r1" PCATEGORIE="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.4.6" SDEPEND=">= app-crypt/libgpg-error-1.9 >= app-crypt/libassuan-2.0.2 >= dev-libs/pth-2 >= app-crypt/gnupg-2.0.17" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild 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 ftp://ftp.gnupg.org/gcrypt/${PNAME}/ | lasttarball" UP2DATE="updatecmd ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/${PNAME}/ | 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 }