mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-27 13:37:13 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_LIBHTTPSERVER
|
||||
bool "libhttpserver"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
||||
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 >= 7"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 b108769ed68d72c58961c517ab16c3a64e4efdc4c45687723bb45bb9e04c5193 libhttpserver-0.19.0.tar.gz
|
||||
sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LESSER
|
||||
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
#
|
||||
# libhttpserver
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBHTTPSERVER_VERSION = 0.19.0
|
||||
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))
|
||||
Reference in New Issue
Block a user