From: Johan Oudinet <johan.oudinet@gmail.com>
To: buildroot@buildroot.org
Cc: Johan Oudinet <johan.oudinet@gmail.com>
Subject: [Buildroot] [PATCH] package/vis-network: new package
Date: Mon, 18 Oct 2021 14:19:00 +0200 [thread overview]
Message-ID: <20211018121900.455863-1-johan.oudinet@gmail.com> (raw)
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
---
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 | 19 +++++++++++++++++++
5 files changed, 32 insertions(+)
create mode 100644 package/vis-network/Config.in
create mode 100644 package/vis-network/vis-network.hash
create mode 100644 package/vis-network/vis-network.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 19f6d95270..ebbc960711 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1392,6 +1392,7 @@ F: package/erlang-p1-yconf/
F: package/erlang-p1-zlib/
F: package/nginx-dav-ext/
F: package/vuejs/
+F: package/vis-network/
N: John Stile <johns@msli.com>
F: package/dhcpcd/
diff --git a/package/Config.in b/package/Config.in
index 48f365d773..d33cedc665 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1648,6 +1648,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..13e8e013be
--- /dev/null
+++ b/package/vis-network/vis-network.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# 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, MIT
+VIS_NETWORK_LICENSE_FILES = LICENSE-APACHE-2.0 LICENSE-MIT
+
+# Install .min.js as .js
+define VIS_NETWORK_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/dist/vis-network.min.js \
+ $(TARGET_DIR)/var/www/vis-network.js
+endef
+
+$(eval $(generic-package))
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2021-10-18 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 12:19 Johan Oudinet [this message]
2021-10-25 9:16 ` [Buildroot] [PATCH v2] package/vis-network: new package Johan Oudinet
2022-07-25 17:07 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211018121900.455863-1-johan.oudinet@gmail.com \
--to=johan.oudinet@gmail.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.