From 2bd4ccbbc055aeda4e991eb9064cd4d52252d32b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacy=20Gaw=C4=99dzki?= Date: Mon, 26 Sep 2022 11:52:03 +0200 Subject: [PATCH] package/chartjs: fix installation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version 3.9.1 does not distribute a CSS file nor a bundle. Install only the minified Javascript source. Fixes: http://autobuild.buildroot.net/results/454216c43430c829c4a06566e99f363e3d0f3019/ Signed-off-by: Ignacy Gawędzki Signed-off-by: Thomas Petazzoni --- package/chartjs/chartjs.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/package/chartjs/chartjs.mk b/package/chartjs/chartjs.mk index 585b4be285..5ed4b3d9c3 100644 --- a/package/chartjs/chartjs.mk +++ b/package/chartjs/chartjs.mk @@ -13,12 +13,8 @@ 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 \ + $(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))