From: Johan Oudinet Date: Wed, 25 Mar 2020 14:04:24 +0000 (+0100) Subject: package/vuejs: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=131216123bb5ed13ec44696b2c78d22669c87552;p=buildroot.git package/vuejs: new package Signed-off-by: Johan Oudinet Signed-off-by: Thomas Petazzoni --- 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))