luci-app-nlbwmon: move chartjs to own packages luci-lib-chartjs
authorFlorian Eckert <redacted>
Wed, 20 Mar 2024 12:22:35 +0000 (13:22 +0100)
committerFlorian Eckert <redacted>
Thu, 21 Mar 2024 09:53:53 +0000 (10:53 +0100)
Signed-off-by: Florian Eckert <redacted>
applications/luci-app-nlbwmon/Makefile
libs/luci-lib-chartjs/Makefile [new file with mode: 0644]
libs/luci-lib-chartjs/htdocs/luci-static/resources/nlbw.chart.min.js [moved from applications/luci-app-nlbwmon/htdocs/luci-static/resources/nlbw.chart.min.js with 100% similarity]

index fcf55a321287b2f66d6dd9572fad84c5ea68349e..95c5f29b07e4f74e4933c5161cd75879be8a1c99 100644 (file)
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
 PKG_LICENSE:=Apache-2.0
 
 LUCI_TITLE:=Netlink based bandwidth accounting
-LUCI_DEPENDS:=+luci-base +nlbwmon
+LUCI_DEPENDS:=+luci-base +luci-lib-chartjs +nlbwmon
 
 include ../../luci.mk
 
diff --git a/libs/luci-lib-chartjs/Makefile b/libs/luci-lib-chartjs/Makefile
new file mode 100644 (file)
index 0000000..ba545f1
--- /dev/null
@@ -0,0 +1,11 @@
+# This is free software, licensed under the Apache License, Version 2.0 .
+
+include $(TOPDIR)/rules.mk
+
+PKG_LICENSE=MIT
+
+LUCI_TITLE:=Simple HTML5 charts using the canvas element
+
+include ../../luci.mk
+
+# call BuildPackage - OpenWrt buildroot signature
git clone https://git.99rst.org/PROJECT