summaryrefslogtreecommitdiff
path: root/recipes/libgcrypt/libgcrypt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libgcrypt/libgcrypt.inc')
-rw-r--r--recipes/libgcrypt/libgcrypt.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/libgcrypt/libgcrypt.inc b/recipes/libgcrypt/libgcrypt.inc
new file mode 100644
index 0000000000..691f4fe133
--- /dev/null
+++ b/recipes/libgcrypt/libgcrypt.inc
@@ -0,0 +1,24 @@
+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 \
+ file://add-pkgconfig-support.patch;patch=1"
+
+inherit autotools binconfig pkgconfig lib_package
+
+EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
+
+ARM_INSTRUCTION_SET = "arm"
+
+do_install_append() {
+ install -d ${D}/${libdir}/pkgconfig/
+ cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
+}
+
+do_stage() {
+ autotools_stage_all
+}
+