package/vuejs: new package
authorJohan Oudinet <johan.oudinet@gmail.com>
Wed, 25 Mar 2020 14:04:24 +0000 (15:04 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 19:52:51 +0000 (21:52 +0200)
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/vuejs/Config.in [new file with mode: 0644]
package/vuejs/vuejs.hash [new file with mode: 0644]
package/vuejs/vuejs.mk [new file with mode: 0644]

index f67ef86e6c5457aa1f2137808924ca2e72e1499b..23aeb3d588ddc4b1112c5c270eefe0c3e41b0084 100644 (file)
@@ -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/
index 7b73198d50c0a9673457694f7b9adc3f752ef8cb..f855076b5a200ae60ae9c2808a491252f029fc32 100644 (file)
@@ -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 (file)
index 0000000..6456d28
--- /dev/null
@@ -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 (file)
index 0000000..d2b30b8
--- /dev/null
@@ -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 (file)
index 0000000..f7e197c
--- /dev/null
@@ -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))