[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,17 @@
config BR2_PACKAGE_LIBHTTPSERVER
bool "libhttpserver"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11 PR59526
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, gcc >= 5"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5

View File

@ -0,0 +1,3 @@
# Locally computed:
sha256 1dfe548ac2add77fcb6c05bd00222c55650ffd02b209f4e3f133a6e3eb29c89d libhttpserver-0.18.2.tar.gz
sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LESSER

View File

@ -0,0 +1,18 @@
################################################################################
#
# libhttpserver
#
################################################################################
LIBHTTPSERVER_VERSION = 0.18.2
LIBHTTPSERVER_SITE = $(call github,etr,libhttpserver,$(LIBHTTPSERVER_VERSION))
LIBHTTPSERVER_LICENSE = LGPL-2.1+
LIBHTTPSERVER_LICENSE_FILES = COPYING.LESSER
LIBHTTPSERVER_INSTALL_STAGING = YES
LIBHTTPSERVER_CONF_OPTS = \
--disable-examples \
--enable-same-directory-build
LIBHTTPSERVER_AUTORECONF = YES
LIBHTTPSERVER_DEPENDENCIES = libmicrohttpd
$(eval $(autotools-package))