Add new packages: libcivetweb-cpp & restd.

This commit is contained in:
jbnadal
2017-06-07 16:52:34 +02:00
parent 75a1014515
commit 5d7856ea1f
4 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
config BR2_PACKAGE_LIBCIVETWEB_CPP
bool "libcivetweb-cpp"
default n
help
Provide a C++ http/websocket library.

View File

@@ -0,0 +1,19 @@
################################################################################
#
# LIBCIVETWEB_CPP
#
################################################################################
LIBCIVETWEB_CPP_VERSION:= 1.8
LIBCIVETWEB_CPP_SITE = $(TOPDIR)/../../src/3P/civetweb/builders/cmake
LIBCIVETWEB_CPP_SITE_METHOD = local
LIBCIVETWEB_CPP_INSTALL_STAGING = YES
LIBCIVETWEB_CPP_CONF = SRC_DIR=$(TOPDIR)/../..
LIBCIVETWEB_CPP_CONF_ENV = $(LIBCIVETWEB_CPP_CONF)
LIBCIVETWEB_CPP_MAKE_ENV = $(LIBCIVETWEB_CPP_CONF)
LIBCIVETWEB_CPP_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
$(eval $(cmake-package))

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_RESTD
select BR2_PACKAGE_LIBCIVETWEB_CPP
bool "restd"
default n
help
This program manage expose the restd.

View File

@@ -0,0 +1,21 @@
################################################################################
#
# RESTD
#
################################################################################
RESTD_VERSION:= 1.0
RESTD_SITE = $(TOPDIR)/../../src/prog/restd/builders/cmake
RESTD_SITE_METHOD = local
RESTD_INSTALL_STAGING = YES
RESTD_DEPENDENCIES = libcivetweb-cpp
RESTD_CONF = SRC_DIR=$(TOPDIR)/../..
RESTD_CONF_ENV = $(CHACOND_CONF)
RESTD_MAKE_ENV = $(CHACOND_CONF)
RESTD_CONF_OPTS += -DMODULE_PATH=$(TOPDIR)/../../bsp/cmake-modules -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
$(eval $(cmake-package))