summaryrefslogtreecommitdiffstats
path: root/meta/packages/libgcrypt
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/libgcrypt')
-rw-r--r--meta/packages/libgcrypt/libgcrypt_1.2.1.bb28
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 @@
1DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
2SECTION = "libs"
3PRIORITY = "optional"
4LICENSE = "GPL LGPL FDL"
5DEPENDS = "libgpg-error"
6
7# move libgcrypt-config into -dev package
8FILES_${PN} = "${libdir}/lib*.so.*"
9FILES_${PN}-dev += "${bindir}"
10
11SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
12
13inherit autotools binconfig
14
15EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
16
17do_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}