diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/libgcrypt/libgcrypt.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.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..08fe7992fa --- /dev/null +++ b/meta/recipes-support/libgcrypt/libgcrypt.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "A 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 | PRIORITY = "optional" | ||
6 | |||
7 | # helper program gcryptrnd and getrandom are under GPL, rest LGPL | ||
8 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
10 | file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" | ||
11 | |||
12 | DEPENDS = "libgpg-error" | ||
13 | |||
14 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \ | ||
15 | file://add-pkgconfig-support.patch" | ||
16 | |||
17 | inherit autotools binconfig pkgconfig | ||
18 | |||
19 | EXTRA_OECONF = "--without-pth --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 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/ | ||
25 | } | ||
26 | |||
27 | ARM_INSTRUCTION_SET = "arm" | ||
28 | |||
29 | # move libgcrypt-config into -dev package | ||
30 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
31 | FILES_${PN}-dev += "${bindir} ${libdir}/pkgconfig/*.pc" | ||