libmicrohttpd: New package.
authorWill Newton <will.newton@gmail.com>
Tue, 15 Sep 2009 12:37:54 +0000 (13:37 +0100)
committerWill Newton <will.newton@gmail.com>
Sun, 20 Sep 2009 18:34:41 +0000 (19:34 +0100)
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>
package/Config.in
package/libmicrohttpd/Config.in [new file with mode: 0644]
package/libmicrohttpd/libmicrohttpd.mk [new file with mode: 0644]

index 619c9bd488d748fc93db96b4818ef8fe48cfe767..42539fd7e02c654d5aa4519785b3e4c7a7786b24 100644 (file)
@@ -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 (file)
index 0000000..c8cfd5d
--- /dev/null
@@ -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 (file)
index 0000000..b62f117
--- /dev/null
@@ -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))