summaryrefslogtreecommitdiff
path: root/packages/libgcrypt/libgcrypt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libgcrypt/libgcrypt.inc')
-rw-r--r--packages/libgcrypt/libgcrypt.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/libgcrypt/libgcrypt.inc b/packages/libgcrypt/libgcrypt.inc
new file mode 100644
index 0000000000..2dc2459c09
--- /dev/null
+++ b/packages/libgcrypt/libgcrypt.inc
@@ -0,0 +1,21 @@
+DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+DEPENDS = "libgpg-error"
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
+
+inherit autotools binconfig pkgconfig
+
+EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
+
+ARM_INSTRUCTION_SET = "arm"
+
+do_stage() {
+ autotools_stage_all
+}
+
+# move libgcrypt-config into -dev package
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}"