summaryrefslogtreecommitdiff
path: root/packages/libgcrypt/libgcrypt_1.2.2.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2006-03-17 16:48:25 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-17 16:48:25 +0000
commite105556303ed054db6d9e5bd40d06fa122125625 (patch)
tree17dd4608d5b3468de1693791a1a44b94c1bbabbd /packages/libgcrypt/libgcrypt_1.2.2.bb
parent9e47d0f0ad0f9903550c50fdb59f773ee0b76ab6 (diff)
parent80aaea4bc2a890e2384486c88aed7db716e71c30 (diff)
merge of 6b9aad33efbe7d42956463905d36b5d886340224
and c9370fe0b51a1422478e89483290e5776597d26c
Diffstat (limited to 'packages/libgcrypt/libgcrypt_1.2.2.bb')
-rw-r--r--packages/libgcrypt/libgcrypt_1.2.2.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/libgcrypt/libgcrypt_1.2.2.bb b/packages/libgcrypt/libgcrypt_1.2.2.bb
new file mode 100644
index 0000000000..cd49d0b8fa
--- /dev/null
+++ b/packages/libgcrypt/libgcrypt_1.2.2.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL LGPL FDL"
+DEPENDS = "libgpg-error"
+MAINTAINER = "Eric Shattow <lucent@gmail.com>"
+
+# move libgcrypt-config into -dev package
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}"
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
+
+inherit autotools binconfig
+
+EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
+
+do_stage() {
+ oe_libinstall -so -C src libgcrypt ${STAGING_LIBDIR}
+ oe_libinstall -so -C src libgcrypt-pthread ${STAGING_LIBDIR}
+ install -m 0755 src/libgcrypt-config ${STAGING_BINDIR}/
+
+ install -d ${STAGING_INCDIR}/
+ for X in gcrypt.h gcrypt-module.h
+ do
+ install -m 0644 src/${X} ${STAGING_INCDIR}/${X}
+ done
+
+}