void-packages/srcpkgs/gpgme/template

47 lines
1.5 KiB
Text
Raw Normal View History

2010-11-06 07:03:53 +00:00
# Template file for 'gpgme'
pkgname=gpgme
2013-05-05 07:03:48 +00:00
version=1.4.1
revision=1
build_style=gnu-configure
configure_args="--enable-fd-passing --disable-gpgsm-test --disable-gpgconf-test --disable-g13-test"
2013-05-05 07:03:48 +00:00
hostmakedepends="gnupg"
makedepends="libgpg-error-devel libassuan-devel"
2010-11-06 07:03:53 +00:00
short_desc="GnuPG Made Easy"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-02-09 13:20:53 +00:00
license="GPL-2"
homepage="http://www.gnupg.org/related_software/gpgme/"
distfiles="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$version.tar.bz2"
2013-05-05 07:03:48 +00:00
checksum=7ab63e5086ebe4cfe7f78face1bb059a7a60da586b1e5c6a77bedcd6d04019b8
2010-11-06 07:03:53 +00: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-05-05 07:03:48 +00:00
if [ "$CROSS_BUILD" ]; then
makedepends+=" gnupg"
fi
gpgme-devel_package() {
depends="libgpg-error-devel libassuan-devel gpgme>=${version}"
2013-05-05 07:03:48 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
}
}
gpgme_package() {
depends="libassuan>=2.0.3 gnupg"
pkg_install() {
2013-05-05 07:03:48 +00:00
vmove all
}
}