]> Git Repo - buildroot-mgba.git/commitdiff
package/vis-network: new package
authorJohan Oudinet <[email protected]>
Mon, 25 Oct 2021 09:16:38 +0000 (11:16 +0200)
committerArnout Vandecappelle (Essensium/Mind) <[email protected]>
Mon, 25 Jul 2022 17:05:42 +0000 (19:05 +0200)
Signed-off-by: Johan Oudinet <[email protected]>
[Arnout:
 - alphabetically order DEVELOPERS;
 - license is OR, not AND]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
DEVELOPERS
package/Config.in
package/vis-network/Config.in [new file with mode: 0644]
package/vis-network/vis-network.hash [new file with mode: 0644]
package/vis-network/vis-network.mk [new file with mode: 0644]

index 2a07ae100b7a4b758f3f601d2bd025aab0c6930f..e4df6cfe41d54fd1b21b32989151a5d1a8088a8c 100644 (file)
@@ -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 <[email protected]>
index bd3d167487962730499ec49cb57c77d78c3403d5..b663b225c371736f2e9b1caa65e77e5384c87b40 100644 (file)
@@ -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 (file)
index 0000000..39e8ac5
--- /dev/null
@@ -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 (file)
index 0000000..56f141f
--- /dev/null
@@ -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 (file)
index 0000000..4a8def3
--- /dev/null
@@ -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))
This page took 0.046036 seconds and 4 git commands to generate.