diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:36:22 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 15:32:53 +0200 |
commit | f4cf9fe05bb3f32fabea4e54dd92d368967a80da (patch) | |
tree | 487180fa9866985ea7b28e625651765d86f515c3 /meta/recipes-support/libgcrypt/libgcrypt.inc | |
download | poky-f4cf9fe05bb3f32fabea4e54dd92d368967a80da.tar.gz |
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-support/libgcrypt/libgcrypt.inc')
-rw-r--r-- | meta/recipes-support/libgcrypt/libgcrypt.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc new file mode 100644 index 0000000000..e7fcc62908 --- /dev/null +++ b/meta/recipes-support/libgcrypt/libgcrypt.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "General purpose cryptographic library based on the code from GnuPG" | ||
2 | HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/" | ||
3 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | # helper program gcryptrnd and getrandom are under GPL, rest LGPL | ||
7 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
9 | file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" | ||
10 | |||
11 | DEPENDS = "libgpg-error libcap" | ||
12 | |||
13 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \ | ||
14 | file://add-pkgconfig-support.patch \ | ||
15 | file://libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch" | ||
16 | |||
17 | inherit autotools-brokensep binconfig pkgconfig | ||
18 | |||
19 | EXTRA_OECONF = "--disable-asm --with-capabilities" | ||
20 | |||
21 | # libgcrypt.pc is added locally and thus installed here | ||
22 | do_install_append() { | ||
23 | install -d ${D}/${libdir}/pkgconfig | ||
24 | install -m 0644 ${B}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/ | ||
25 | } | ||
26 | |||
27 | FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256" | ||
28 | |||
29 | ARM_INSTRUCTION_SET = "arm" | ||
30 | |||
31 | BBCLASSEXTEND = "native" | ||