package/vuejs: new package

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Johan Oudinet 2020-03-25 15:04:24 +01:00 committed by Thomas Petazzoni
parent 7f169e6bc3
commit 131216123b
5 changed files with 30 additions and 0 deletions

View File

@ -1321,6 +1321,7 @@ F: package/erlang-p1-yaml/
F: package/erlang-p1-yconf/ F: package/erlang-p1-yconf/
F: package/erlang-p1-zlib/ F: package/erlang-p1-zlib/
F: package/nginx-dav-ext/ F: package/nginx-dav-ext/
F: package/vuejs/
N: John Stile <johns@msli.com> N: John Stile <johns@msli.com>
F: package/dhcpcd/ F: package/dhcpcd/

View File

@ -1542,6 +1542,7 @@ endif
source "package/json-javascript/Config.in" source "package/json-javascript/Config.in"
source "package/openlayers/Config.in" source "package/openlayers/Config.in"
source "package/spidermonkey/Config.in" source "package/spidermonkey/Config.in"
source "package/vuejs/Config.in"
endmenu endmenu
menu "JSON/XML" menu "JSON/XML"

6
package/vuejs/Config.in Normal file
View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_VUEJS
bool "vuejs"
help
VueJS web application framework.
http://vuejs.org

3
package/vuejs/vuejs.hash Normal file
View File

@ -0,0 +1,3 @@
# Locally computed
sha256 7ee4d5e4ec7d44fb9918ecb074ad7701eb0bcb3a840cee3c2924734ef3fd888a v2.6.11.tar.gz
sha256 17fb24bc303763f3fe1911ee24e5225c7ad59f0e3a5d8123e9b730c100a306a6 LICENSE

19
package/vuejs/vuejs.mk Normal file
View File

@ -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))