From: Johan Oudinet <johan.oudinet@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/vuejs: new package
Date: Wed, 25 Mar 2020 15:04:24 +0100 [thread overview]
Message-ID: <20200325140424.21408-1-johan.oudinet@gmail.com> (raw)
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/vuejs/Config.in | 6 ++++++
package/vuejs/vuejs.hash | 3 +++
package/vuejs/vuejs.mk | 19 +++++++++++++++++++
5 files changed, 30 insertions(+)
create mode 100644 package/vuejs/Config.in
create mode 100644 package/vuejs/vuejs.hash
create mode 100644 package/vuejs/vuejs.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 1fb4e65755..e1fb044ee7 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1321,6 +1321,7 @@ F: package/erlang-p1-yaml/
F: package/erlang-p1-yconf/
F: package/erlang-p1-zlib/
F: package/nginx-dav-ext/
+F: package/vuejs/
N: John Stile <johns@msli.com>
F: package/dhcpcd/
diff --git a/package/Config.in b/package/Config.in
index 614ec921e5..4644d334f0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1543,6 +1543,7 @@ endif
source "package/json-javascript/Config.in"
source "package/openlayers/Config.in"
source "package/spidermonkey/Config.in"
+ source "package/vuejs/Config.in"
endmenu
menu "JSON/XML"
diff --git a/package/vuejs/Config.in b/package/vuejs/Config.in
new file mode 100644
index 0000000000..6456d288f9
--- /dev/null
+++ b/package/vuejs/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_VUEJS
+ bool "vuejs"
+ help
+ VueJS web application framework.
+
+ http://vuejs.org
diff --git a/package/vuejs/vuejs.hash b/package/vuejs/vuejs.hash
new file mode 100644
index 0000000000..d2b30b8d34
--- /dev/null
+++ b/package/vuejs/vuejs.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256 7ee4d5e4ec7d44fb9918ecb074ad7701eb0bcb3a840cee3c2924734ef3fd888a v2.6.11.tar.gz
+sha256 17fb24bc303763f3fe1911ee24e5225c7ad59f0e3a5d8123e9b730c100a306a6 LICENSE
diff --git a/package/vuejs/vuejs.mk b/package/vuejs/vuejs.mk
new file mode 100644
index 0000000000..f7e197c4af
--- /dev/null
+++ b/package/vuejs/vuejs.mk
@@ -0,0 +1,19 @@
+################################################################################
+#
+# vuejs
+#
+################################################################################
+
+VUEJS_VERSION = 2.6.11
+VUEJS_SOURCE = v$(VUEJS_VERSION).tar.gz
+VUEJS_SITE = https://github.com/vuejs/vue/archive
+VUEJS_LICENSE = MIT
+VUEJS_LICENSE_FILES = LICENSE
+
+# Install .min.js as .js
+define VUEJS_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 644 -D $(@D)/dist/vue.min.js \
+ $(TARGET_DIR)/var/www/vue.js
+endef
+
+$(eval $(generic-package))
--
2.20.1
next reply other threads:[~2020-03-25 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 14:04 Johan Oudinet [this message]
2020-03-29 20:02 ` [Buildroot] [PATCH] package/vuejs: new package Thomas Petazzoni
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=20200325140424.21408-1-johan.oudinet@gmail.com \
--to=johan.oudinet@gmail.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox