The gpgme package is a C library that allows cryptography support to be added to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. gpgme provides a high-level crypto API for encryption, decryption, signing, signature verification and key management.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-2.0.0.tar.bz2
Download MD5 sum: 60f6871b948060572c7d952e39b42bd8
Download size: 1.3 MB
Estimated disk space required: 24 MB (with tests)
Estimated build time: 0.2 SBU (with tests and parallelism=4)
Doxygen-1.14.0 and GnuPG-2.4.8 (for building the tests)
Install gpgme by running the following commands:
mkdir build && cd build && ../configure --prefix=/usr \ --disable-gpg-test \ --disable-static && make
To test the results, you should have GnuPG-2.4.8 installed and
remove the --disable-gpg-test
above. If
so, run:
make -k check
Now, as the root
user:
make install
--disable-static
: This
switch prevents installation of static versions of the libraries.
--disable-gpg-test
: The
build fails if this switch is not passed and GnuPG-2.4.8 is not installed.