From 131216123bb5ed13ec44696b2c78d22669c87552 Mon Sep 17 00:00:00 2001 From: Johan Oudinet Date: Wed, 25 Mar 2020 15:04:24 +0100 Subject: [PATCH] package/vuejs: new package Signed-off-by: Johan Oudinet Signed-off-by: Thomas Petazzoni --- 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 f67ef86e6c..23aeb3d588 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 F: package/dhcpcd/ diff --git a/package/Config.in b/package/Config.in index 7b73198d50..f855076b5a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1542,6 +1542,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.30.2