summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-app-nlbwmon/Makefile4
-rw-r--r--libs/luci-lib-chartjs/Makefile11
-rw-r--r--libs/luci-lib-chartjs/htdocs/luci-static/resources/nlbw.chart.min.js (renamed from applications/luci-app-nlbwmon/htdocs/luci-static/resources/nlbw.chart.min.js)0
3 files changed, 14 insertions, 1 deletions
diff --git a/applications/luci-app-nlbwmon/Makefile b/applications/luci-app-nlbwmon/Makefile
index d53452c3f0..95c5f29b07 100644
--- a/applications/luci-app-nlbwmon/Makefile
+++ b/applications/luci-app-nlbwmon/Makefile
@@ -1,7 +1,9 @@
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
index 0000000000..ba545f1057
--- /dev/null
+++ b/libs/luci-lib-chartjs/Makefile
@@ -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
diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/nlbw.chart.min.js b/libs/luci-lib-chartjs/htdocs/luci-static/resources/nlbw.chart.min.js
index 34e3026825..34e3026825 100644
--- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/nlbw.chart.min.js
+++ b/libs/luci-lib-chartjs/htdocs/luci-static/resources/nlbw.chart.min.js