2020-02-10 12:26:30 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# chartjs
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-19 16:46:05 +01:00
|
|
|
CHARTJS_VERSION = 2.9.4
|
2021-01-19 16:46:04 +01:00
|
|
|
CHARTJS_SITE = $(call github,chartjs,Chart.js,v$(CHARTJS_VERSION))
|
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
|
|
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.css \
|
|
|
|
$(TARGET_DIR)/var/www/chartjs/css/Chart.css
|
|
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/Chart.min.js \
|
|
|
|
$(TARGET_DIR)/var/www/chartjs/js/Chart.js
|
|
|
|
$(INSTALL) -m 0644 -D $(@D)/dist/Chart.bundle.min.js \
|
|
|
|
$(TARGET_DIR)/var/www/chartjs/js/Chart.bundle.js
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|