2010-11-06 08:03:53 +01:00
|
|
|
# Template file for 'gpgme'
|
|
|
|
pkgname=gpgme
|
2013-07-08 15:38:55 +02:00
|
|
|
version=1.4.2
|
2013-05-05 09:03:48 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-07-08 15:45:27 +02:00
|
|
|
configure_args="--enable-fd-passing --with-gpg=/usr/bin/gpg
|
|
|
|
--with-gpgsm=/usr/bin/gpgsm --with-gpgconf=/usr/bin/gpgconf
|
|
|
|
--with-g13=/usr/bin/g13"
|
2013-05-05 09:03:48 +02:00
|
|
|
hostmakedepends="gnupg"
|
|
|
|
makedepends="libgpg-error-devel libassuan-devel"
|
2010-11-06 08:03:53 +01:00
|
|
|
short_desc="GnuPG Made Easy"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-09 14:20:53 +01:00
|
|
|
license="GPL-2"
|
2013-04-12 15:11:12 +02:00
|
|
|
homepage="http://www.gnupg.org/related_software/gpgme/"
|
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$version.tar.bz2"
|
2013-07-08 15:38:55 +02:00
|
|
|
checksum=2c4f2bf71e53e6fb7badf07801d4248777566a621c8c2339c02c289731df6856
|
2010-11-06 08:03:53 +01:00
|
|
|
long_desc="
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier
|
|
|
|
for applications. It provides a High-Level Crypto API for encryption,
|
|
|
|
decryption, signing, signature verification and key management. Currently it
|
|
|
|
uses GnuPG as its backend but the API isn't restricted to this engine; in fact
|
|
|
|
we have already developed a backend for CMS (S/MIME).
|
|
|
|
|
|
|
|
Because the direct use of GnuPG from an application can be a complicated
|
|
|
|
programming task, it is suggested that all software should try to use GPGME
|
|
|
|
instead. This way bug fixes or improvements can be done at a central place
|
|
|
|
and every application benefits from this."
|
2013-04-12 15:11:12 +02:00
|
|
|
|
2013-07-08 15:49:31 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
configure_args+=" --with-libgpg-error-prefix=$XBPS_CROSS_BASE/usr
|
|
|
|
--with-libassuan-prefix=$XBPS_CROSS_BASE/usr"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 15:11:12 +02:00
|
|
|
gpgme-devel_package() {
|
|
|
|
depends="libgpg-error-devel libassuan-devel gpgme>=${version}"
|
2013-05-05 09:03:48 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
2013-07-08 15:38:55 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gpgme_package() {
|
|
|
|
depends="libassuan>=2.0.3 gnupg"
|
|
|
|
pkg_install() {
|
2013-05-05 09:03:48 +02:00
|
|
|
vmove all
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|