2 DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
5 LICENSE = "GPL LGPL FDL"
6 DEPENDS = "libgpg-error"
8 # move libgcrypt-config into -dev package
9 FILES_${PN} = "${libdir}/lib*.so.*"
10 FILES_${PN}-dev += "${bindir}"
12 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
14 inherit autotools binconfig
16 EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
19 oe_libinstall -so -C src libgcrypt ${STAGING_LIBDIR}
20 oe_libinstall -so -C src libgcrypt-pthread ${STAGING_LIBDIR}
21 install -m 0755 src/libgcrypt-config ${STAGING_BINDIR}/
23 install -d ${STAGING_INCDIR}/
24 for X in gcrypt.h gcrypt-module.h
26 install -m 0644 src/${X} ${STAGING_INCDIR}/${X}