2017-04-29 10:37:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kodi-jsonschemabuilder
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# Not possible to directly refer to kodi variables, because of
|
|
|
|
# first/second expansion trickery...
|
2021-05-09 18:43:39 +02:00
|
|
|
KODI_JSONSCHEMABUILDER_VERSION = 19.1-Matrix
|
2017-04-29 10:37:26 +02:00
|
|
|
KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION))
|
|
|
|
KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz
|
2019-11-13 21:44:12 +01:00
|
|
|
KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi
|
2017-04-29 10:37:26 +02:00
|
|
|
KODI_JSONSCHEMABUILDER_LICENSE = GPL-2.0
|
2020-01-19 12:07:14 +01:00
|
|
|
KODI_JSONSCHEMABUILDER_LICENSE_FILES = LICENSE.md
|
2017-04-29 10:37:26 +02:00
|
|
|
HOST_KODI_JSONSCHEMABUILDER_SUBDIR = tools/depends/native/JsonSchemaBuilder
|
|
|
|
|
|
|
|
HOST_KODI_JSONSCHEMABUILDER_CONF_OPTS = \
|
|
|
|
-DCMAKE_MODULE_PATH=$(@D)/project/cmake/modules
|
|
|
|
|
|
|
|
define HOST_KODI_JSONSCHEMABUILDER_INSTALL_CMDS
|
|
|
|
$(INSTALL) -m 755 -D \
|
|
|
|
$(@D)/tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder \
|
2017-07-05 13:14:19 +02:00
|
|
|
$(HOST_DIR)/bin/JsonSchemaBuilder
|
2017-04-29 10:37:26 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-cmake-package))
|