Patchwork [2/3] libmicrohttpd: add recipe

login
register
mail settings
Submitter Khem Raj
Date Feb. 11, 2014, 3:33 a.m.
Message ID <3ef9cfedc7386604766b3b96c177afa5caa2b165.1392089446.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/66561/
State New
Headers show

Comments

Khem Raj - Feb. 11, 2014, 3:33 a.m.
libmicrohttpd is needed by systemd-journald-gatewayd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../libmicrohttpd/libmicrohttpd_0.9.33.bb            |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb

Patch

diff --git a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb b/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb
new file mode 100644
index 0000000..d56af76
--- /dev/null
+++ b/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.33.bb
@@ -0,0 +1,18 @@ 
+# Copyright (C) 2014 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "A small C library that is supposed to make it easy to run an HTTP server as part of another application"
+HOMEPAGE = "http://www.gnu.org/software/libmicrohttpd/"
+LICENSE = "LGPL-2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5"
+SECTION = "net"
+DEPENDS = "gnutls libgcrypt"
+
+SRC_URI = "http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "013b10f9de1cda5448b29c81305354a3"
+SRC_URI[sha256sum] = "d9587e8497548f820650cd607daf3615ea3272435779378983032c570f1cd559"
+
+inherit autotools
+EXTRA_OECONF += "--disable-dependency-tracking --enable-largefile \
+                 --enable-curl --enable-messages --with-pic"
+