package/libhttpserver: new package

libhttpserver is a C++ library for building high performance RESTfuls
web servers. libhttpserver is built upon libmicrohttpd to provide a
simple API for developers to create HTTP services in C++.

The installed pkg-config file contains an error, thus we include the
patch 458d16b922304006fe418897044e14b0544a127a from the upstream repo
that is not yet released.

Signed-off-by: Stephan Hoffmann <stephan.hoffmann@ext.grandcentrix.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Stephan Hoffmann
2019-09-24 14:27:54 +02:00
committed by Thomas Petazzoni
parent 6fe9779dbc
commit a2901ac82c
6 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
config BR2_PACKAGE_LIBHTTPSERVER
bool "libhttpserver"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBMICROHTTPD
help
libhttpserver is a C++ library for building high performance
RESTfuls web servers. libhttpserver is built upon
libmicrohttpd to provide a simple API for developers to
create HTTP services in C++.
https://github.com/etr/libhttpserver
comment "libhttpserver needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS