All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/vis-network: new package
@ 2022-07-25 17:05 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2022-07-25 17:05 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=31a28d89066a82ef9d0b3c32cf48cdb01d35202f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Arnout:
 - alphabetically order DEVELOPERS;
 - license is OR, not AND]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/vis-network/Config.in        |  7 +++++++
 package/vis-network/vis-network.hash |  4 ++++
 package/vis-network/vis-network.mk   | 21 +++++++++++++++++++++
 5 files changed, 34 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index 2a07ae100b..e4df6cfe41 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1505,6 +1505,7 @@ F:	package/erlang-p1-yaml/
 F:	package/erlang-p1-yconf/
 F:	package/erlang-p1-zlib/
 F:	package/nginx-dav-ext/
+F:	package/vis-network/
 F:	package/vuejs/
 
 N:	John Stile <johns@msli.com>
diff --git a/package/Config.in b/package/Config.in
index bd3d167487..b663b225c3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1688,6 +1688,7 @@ endif
 	source "package/jszip/Config.in"
 	source "package/openlayers/Config.in"
 	source "package/popperjs/Config.in"
+	source "package/vis-network/Config.in"
 	source "package/vuejs/Config.in"
 if BR2_PACKAGE_VUEJS
 comment "External Vue.js plugins"
diff --git a/package/vis-network/Config.in b/package/vis-network/Config.in
new file mode 100644
index 0000000000..39e8ac54c5
--- /dev/null
+++ b/package/vis-network/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_VIS_NETWORK
+	bool "vis-network"
+	help
+	  Display dynamic, automatically organised, customizable network
+	  views. Network uses HTML canvas for rendering.
+
+	  http://visjs.github.io/vis-network/
diff --git a/package/vis-network/vis-network.hash b/package/vis-network/vis-network.hash
new file mode 100644
index 0000000000..56f141f5f7
--- /dev/null
+++ b/package/vis-network/vis-network.hash
@@ -0,0 +1,4 @@
+# Locally computed
+sha256  a9f7325cbe28147318476c63f09c1d5c894d2239bfa4b4dd2dfb3dbebb0705d3  vis-network-9.1.0.tgz
+sha256  1509904280a272780fd69c04b858f512cf216f8e3464a0dd98d8f34416feced9  LICENSE-APACHE-2.0
+sha256  1f65085e54c036645082257618db2c7b787e68c3b02485e214ecd09e0834ee8f  LICENSE-MIT
diff --git a/package/vis-network/vis-network.mk b/package/vis-network/vis-network.mk
new file mode 100644
index 0000000000..4a8def37e0
--- /dev/null
+++ b/package/vis-network/vis-network.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# vis-network
+#
+################################################################################
+
+VIS_NETWORK_VERSION = 9.1.0
+VIS_NETWORK_SOURCE = vis-network-$(VIS_NETWORK_VERSION).tgz
+VIS_NETWORK_SITE = https://registry.npmjs.org/vis-network/-
+VIS_NETWORK_LICENSE = Apache-2.0 or MIT
+VIS_NETWORK_LICENSE_FILES = LICENSE-APACHE-2.0 LICENSE-MIT
+
+# Install .min.js and .min.css as .js and .css, respectively.
+define VIS_NETWORK_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 644 -D $(@D)/dist/vis-network.min.js \
+		$(TARGET_DIR)/var/www/vis-network.js
+	$(INSTALL) -m 644 -D $(@D)/dist/dist/vis-network.min.css \
+		$(TARGET_DIR)/var/www/vis-network.css
+endef
+
+$(eval $(generic-package))
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-25 17:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25 17:05 [Buildroot] [git commit] package/vis-network: new package Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.