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