summaryrefslogtreecommitdiffstats
path: root/package/libmicrohttpd
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 /package/libmicrohttpd
parent51173980cdbc89832db17765209e0ccef5be5cf8 (diff)
downloadbuildroot-novena-1a9015f5d557c594f6719ea08e6c629a1f4c0398.tar.gz
buildroot-novena-1a9015f5d557c594f6719ea08e6c629a1f4c0398.zip
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>
Diffstat (limited to 'package/libmicrohttpd')
-rw-r--r--package/libmicrohttpd/Config.in7
-rw-r--r--package/libmicrohttpd/libmicrohttpd.mk14
2 files changed, 21 insertions, 0 deletions
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))