summaryrefslogtreecommitdiffstats
path: root/package/libmicrohttpd
diff options
context:
space:
mode:
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))