package/vuejs-router: new package

Vue Router is the official router for Vue.js.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
[Arnout: use comment instead of submenu]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Thomas Claveirole 2021-08-02 17:48:12 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c938698b4a
commit 62b135af5e
5 changed files with 33 additions and 0 deletions

View File

@ -2568,6 +2568,7 @@ F: package/x265/
N: Thomas Claveirole <thomas.claveirole@green-communications.fr>
F: package/fcgiwrap/
F: package/openlayers/
F: package/vuejs-router/
N: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
F: docs/manual/

View File

@ -1639,6 +1639,10 @@ endif
source "package/openlayers/Config.in"
source "package/popperjs/Config.in"
source "package/vuejs/Config.in"
if BR2_PACKAGE_VUEJS
comment "External Vue.js plugins"
source "package/vuejs-router/Config.in"
endif
endmenu
menu "JSON/XML"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_VUEJS_ROUTER
bool "vuejs-router"
help
The official router for Vue.js.
http://router.vuejs.org

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 d85cb70686cad36a087ad9586f1839c9997f707eb0065445fb1ea3d9218494f6 vue-router-4.0.10.tgz
sha256 9c0015250f592a09d7787efc07152afcf661fff6bda2554359f6d00987828c02 LICENSE

View File

@ -0,0 +1,19 @@
################################################################################
#
# vuejs-router
#
################################################################################
VUEJS_ROUTER_VERSION = 4.0.10
VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz
VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/-
VUEJS_ROUTER_LICENSE = MIT
VUEJS_ROUTER_LICENSE_FILES = LICENSE
# Install .prod.js as .js
define VUEJS_ROUTER_INSTALL_TARGET_CMDS
$(INSTALL) -m 644 -D $(@D)/dist/vue-router.global.prod.js \
$(TARGET_DIR)/var/www/vue-router.js
endef
$(eval $(generic-package))