mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-11 14:23:52 +08:00
05cc9e967c
cpe:2.3🅰️chartjs:chart.js is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Achartjs%3Achart.js Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
757 B
Makefile
24 lines
757 B
Makefile
################################################################################
|
|
#
|
|
# chartjs
|
|
#
|
|
################################################################################
|
|
|
|
CHARTJS_VERSION = 2.9.4
|
|
CHARTJS_SITE = $(call github,chartjs,Chart.js,v$(CHARTJS_VERSION))
|
|
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))
|