diff options
Diffstat (limited to 'meta/packages/libgcrypt')
-rw-r--r-- | meta/packages/libgcrypt/libgcrypt_1.2.1.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/libgcrypt/libgcrypt_1.2.1.bb b/meta/packages/libgcrypt/libgcrypt_1.2.1.bb new file mode 100644 index 0000000000..e797ee75c7 --- /dev/null +++ b/meta/packages/libgcrypt/libgcrypt_1.2.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG" | ||
2 | SECTION = "libs" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "GPL LGPL FDL" | ||
5 | DEPENDS = "libgpg-error" | ||
6 | |||
7 | # move libgcrypt-config into -dev package | ||
8 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
9 | FILES_${PN}-dev += "${bindir}" | ||
10 | |||
11 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz" | ||
12 | |||
13 | inherit autotools binconfig | ||
14 | |||
15 | EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities" | ||
16 | |||
17 | do_stage() { | ||
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}/ | ||
21 | |||
22 | install -d ${STAGING_INCDIR}/ | ||
23 | for X in gcrypt.h gcrypt-module.h | ||
24 | do | ||
25 | install -m 0644 src/${X} ${STAGING_INCDIR}/${X} | ||
26 | done | ||
27 | |||
28 | } | ||