kumquat-buildroot/package/chartjs/chartjs.mk
Ignacy Gawędzki a954d39a58 package/chartjs: bump to version 3.9.1
https://github.com/chartjs/Chart.js/releases/tag/v3.9.1

License file has updated copyright years to 2014-2022.

Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-09-23 23:46:27 +02:00

25 lines
792 B
Makefile

################################################################################
#
# chartjs
#
################################################################################
CHARTJS_VERSION = 3.9.1
CHARTJS_SITE = https://registry.npmjs.org/chart.js/-
CHARTJS_SOURCE = chart.js-$(CHARTJS_VERSION).tgz
CHARTJS_LICENSE = MIT
CHARTJS_LICENSE_FILES = LICENSE.md
CHARTJS_CPE_ID_VENDOR = chartjs
CHARTJS_CPE_ID_PRODUCT = chart.js
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))