Initial Commit
- initial default booting image
This commit is contained in:
18
package/pistache/Config.in
Normal file
18
package/pistache/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_PISTACHE
|
||||
bool "pistache"
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17, std::optional
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Pistache is a modern and elegant HTTP and REST framework
|
||||
for C++. It is entirely written in pure C++17 and provides
|
||||
a clear and pleasant API.
|
||||
|
||||
https://github.com/pistacheio/pistache
|
||||
|
||||
comment "pistache needs a toolchain w/ C++, gcc >= 7, NPTL, wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
||||
!BR2_USE_WCHAR
|
||||
3
package/pistache/pistache.hash
Normal file
3
package/pistache/pistache.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
#locally computed
|
||||
sha256 29af6562547497acf6f49170661786fe8cf1ed3712ad80e69c53da4661c59544 pistache-0.4.26.tar.gz
|
||||
sha256 c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08 LICENSE
|
||||
28
package/pistache/pistache.mk
Normal file
28
package/pistache/pistache.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# pistache
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PISTACHE_VERSION = 0.4.26
|
||||
PISTACHE_SITE = $(call github,pistacheio,pistache,v$(PISTACHE_VERSION))
|
||||
PISTACHE_LICENSE = Apache-2.0
|
||||
PISTACHE_LICENSE_FILES = LICENSE
|
||||
|
||||
PISTACHE_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_RAPIDJSON),y)
|
||||
PISTACHE_DEPENDENCIES += rapidjson
|
||||
PISTACHE_CONF_OPTS += -DPISTACHE_USE_RAPIDJSON=true
|
||||
else
|
||||
PISTACHE_CONF_OPTS += -DPISTACHE_USE_RAPIDJSON=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
PISTACHE_DEPENDENCIES += openssl
|
||||
PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=true
|
||||
else
|
||||
PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=false
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user