The libgcrypt package contains a general purpose crypto library based on the code used in GnuPG. The library provides a high level interface to cryptographic building blocks using an extendable and flexible API.
Configure libgcrypt by running the following commands:
./configure --prefix=/usr
Build libgcrypt with the following commands:
make make -C doc html makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi
Now install the package:
make install
--with-capabilities: This option
enables libcap2 support.