2020-02-10 12:26:30 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# chartjs
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-09-22 15:34:30 +02:00
|
|
|
CHARTJS_VERSION = 3.9.1
|
|
|
|
CHARTJS_SITE = https://registry.npmjs.org/chart.js/-
|
|
|
|
CHARTJS_SOURCE = chart.js-$(CHARTJS_VERSION).tgz
|
2020-02-10 12:26:30 +01:00
|
|
|
CHARTJS_LICENSE = MIT
|
|
|
|
CHARTJS_LICENSE_FILES = LICENSE.md
|
2021-01-21 23:04:56 +01:00
|
|
|
CHARTJS_CPE_ID_VENDOR = chartjs
|
|
|
|
CHARTJS_CPE_ID_PRODUCT = chart.js
|
2020-02-10 12:26:30 +01:00
|
|
|
|
|
|
|
define CHARTJS_INSTALL_TARGET_CMDS
|
2022-09-26 11:52:03 +02:00
|
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/chart.min.js \
|
2020-02-10 12:26:30 +01:00
|
|
|
$(TARGET_DIR)/var/www/chartjs/js/Chart.js
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|