2006-11-21 16:45:47 +00:00
|
|
|
DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
|
2010-06-22 04:21:47 +00:00
|
|
|
HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
|
|
|
|
BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
|
2006-11-21 16:45:47 +00:00
|
|
|
SECTION = "libs"
|
2010-06-22 04:21:47 +00:00
|
|
|
|
|
|
|
# helper program gcryptrnd and getrandom are under GPL, rest LGPL
|
|
|
|
LICENSE = "GPLv2+ & LGPLv2.1+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
|
|
file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
|
|
|
|
|
2011-09-19 10:58:34 +00:00
|
|
|
DEPENDS = "libgpg-error libcap"
|
2007-08-31 15:43:50 +00:00
|
|
|
|
2008-03-19 22:48:56 +00:00
|
|
|
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
|
2010-06-22 04:21:47 +00:00
|
|
|
file://add-pkgconfig-support.patch"
|
2006-11-21 16:45:47 +00:00
|
|
|
|
2010-07-21 07:34:51 +00:00
|
|
|
inherit autotools binconfig pkgconfig
|
2006-11-21 16:45:47 +00:00
|
|
|
|
|
|
|
EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
|
|
|
|
|
2010-07-21 07:34:51 +00:00
|
|
|
# libgcrypt.pc is added locally and thus installed here
|
|
|
|
do_install_append() {
|
|
|
|
install -d ${D}/${libdir}/pkgconfig
|
2012-12-14 14:51:21 +00:00
|
|
|
install -m 0644 ${B}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
|
2010-07-21 07:34:51 +00:00
|
|
|
}
|
|
|
|
|
2012-06-05 12:32:53 +00:00
|
|
|
FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"
|
2006-11-21 16:45:47 +00:00
|
|
|
|
2012-06-05 12:32:53 +00:00
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
2011-11-15 20:58:38 +00:00
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|