summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2009-09-15 13:37:54 +0100
committerWill Newton <will.newton@gmail.com>2009-09-20 19:34:41 +0100
commit1a9015f5d557c594f6719ea08e6c629a1f4c0398 (patch)
treebb8c529ac4d6b3a2f81c6e0ccd808c71e9022354
parent51173980cdbc89832db17765209e0ccef5be5cf8 (diff)
libmicrohttpd: New package.
libmicrohttpd is a library that allows embedding an HTTP server into an application with a small code and memory footprint. Signed-off-by: Will Newton <will.newton@gmail.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/libmicrohttpd/Config.in7
-rw-r--r--package/libmicrohttpd/libmicrohttpd.mk14
3 files changed, 22 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 619c9bd48..42539fd7e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -158,6 +158,7 @@ source "package/libcgicc/Config.in"
source "package/libcurl/Config.in"
source "package/libdnet/Config.in"
source "package/libeXosip2/Config.in"
+source "package/libmicrohttpd/Config.in"
source "package/libnl/Config.in"
source "package/libosip2/Config.in"
source "package/libpcap/Config.in"
diff --git a/package/libmicrohttpd/Config.in b/package/libmicrohttpd/Config.in
new file mode 100644
index 000000000..c8cfd5d99
--- /dev/null
+++ b/package/libmicrohttpd/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LIBMICROHTTPD
+ bool "libmicrohttpd"
+ select BR2_PACKAGE_LIBGCRYPT
+ default n
+ help
+ GNU libmicrohttpd is a small C library that makes it easy to
+ run an HTTP server as part of another application.
diff --git a/package/libmicrohttpd/libmicrohttpd.mk b/package/libmicrohttpd/libmicrohttpd.mk
new file mode 100644
index 000000000..b62f117e0
--- /dev/null
+++ b/package/libmicrohttpd/libmicrohttpd.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# libmicrohttpd
+#
+#############################################################
+LIBMICROHTTPD_VERSION:=0.4.2
+LIBMICROHTTPD_SOURCE:=libmicrohttpd-$(LIBMICROHTTPD_VERSION).tar.gz
+LIBMICROHTTPD_SITE:=$(BR2_GNU_MIRROR)/libmicrohttpd
+LIBMICROHTTPD_LIBTOOL_PATCH = NO
+LIBMICROHTTPD_INSTALL_STAGING = YES
+
+LIBMICROHTTPD_DEPENDENCIES = libgcrypt
+
+$(eval $(call AUTOTARGETS,package,libmicrohttpd))