kumquat-buildroot/package/pistache/pistache.mk
Thomas Ruschival 2f32185679 package/pistache: bump version & switch to meson build
While upstream pistache has not yet released a stable 'tag'
a lot has changed since June 2020:

* project has moved to meson build system, cmake builds
  do not install headers.
* patches in buildroot are no longer required
* project-implemented Pistache::Optional was replaced by
  use of std::optional. This is only available in C++17
* dependency to rapidjson has been introduced

Signed-off-by: Thomas Ruschival <thomas@ruschival.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-03-24 21:10:36 +01:00

24 lines
690 B
Makefile

################################################################################
#
# pistache
#
################################################################################
PISTACHE_VERSION = 3ec9d7c4f8b828fdd391550fff81b01e72dd6269
PISTACHE_SITE = $(call github,oktal,pistache,$(PISTACHE_VERSION))
PISTACHE_LICENSE = Apache-2.0
PISTACHE_LICENSE_FILES = LICENSE
PISTACHE_INSTALL_STAGING = YES
PISTACHE_DEPENDENCIES += rapidjson
ifeq ($(BR2_PACKAGE_OPENSSL),y)
PISTACHE_DEPENDENCIES += openssl
PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=true
PISTACHE_CONF_OPTS += -DPISTACHE_ENABLE_NETWORK_TESTS=false
else
PISTACHE_CONF_OPTS += -DPISTACHE_USE_SSL=false
endif
$(eval $(meson-package))