Patchwork [meta-oe,2/8] libmicrohttpd 0.4.6: import from OE classic

login
register
mail settings
Submitter Koen Kooi
Date Oct. 24, 2011, 9:40 a.m.
Message ID <1319449234-12080-2-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/13811/
State Accepted
Commit 6da6b34ddf9d7c3f72a9c9be4884a4bb5fe3a504
Headers show

Comments

Koen Kooi - Oct. 24, 2011, 9:40 a.m.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 .../libmicrohttpd/libmicrohttpd_0.4.6.bb           |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb

Patch

diff --git a/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb b/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb
new file mode 100644
index 0000000..0fb9b4e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libmicrohttpd/libmicrohttpd_0.4.6.bb
@@ -0,0 +1,15 @@ 
+DESCRIPTION = "GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application."
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
+
+DEPENDS = "libgcrypt curl"
+
+SRC_URI = "ftp://ftp.nluug.nl/pub/gnu/libmicrohttpd//libmicrohttpd-${PV}.tar.gz"
+SRC_URI[md5sum] = "61698da6aa04744ea076c327f66fc05a"
+SRC_URI[sha256sum] = "0cb09e26678d1531a4fd40a748abff5142bfdad3ae11cfe3bb7ad7317a99e371"
+
+inherit autotools lib_package
+
+do_compile_append() {
+	sed -i s:-L${STAGING_LIBDIR}::g libmicrohttpd.pc
+}