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