package/jszip: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Joeri Barbarien 2020-12-08 19:05:24 +01:00 committed by Thomas Petazzoni
parent fff6a0e118
commit e879e007c6
5 changed files with 29 additions and 0 deletions

View File

@ -2515,6 +2515,7 @@ N: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
F: docs/manual/
F: package/cereal/
F: package/chartjs/
F: package/jszip/
F: package/libtelnet/
F: package/opkg-utils/
F: package/perl-convert-asn1/

View File

@ -1597,6 +1597,7 @@ endmenu
endif
source "package/jsmin/Config.in"
source "package/json-javascript/Config.in"
source "package/jszip/Config.in"
source "package/openlayers/Config.in"
source "package/spidermonkey/Config.in"
source "package/vuejs/Config.in"

7
package/jszip/Config.in Normal file
View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_JSZIP
bool "jszip"
help
JSZip is a javascript library for creating, reading and
editing .zip files, with a lovely and simple API.
https://stuk.github.io/jszip

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

@ -0,0 +1,3 @@
# Locally computed:
sha256 e5343decfb781b15c54c0df9ddedd6c8518c800a4667a0a95741c694a4f38d34 jszip-3.2.2.tar.gz
sha256 14450c78405ad2a2173e25740b56406556779149df9c4c83523a8c63d0686210 LICENSE.markdown

17
package/jszip/jszip.mk Normal file
View File

@ -0,0 +1,17 @@
################################################################################
#
# jszip
#
################################################################################
JSZIP_VERSION = 3.2.2
JSZIP_SITE = $(call github,Stuk,jszip,v$(JSZIP_VERSION))
JSZIP_LICENSE = MIT or GPL-3.0
JSZIP_LICENSE_FILES = LICENSE.markdown
define JSZIP_INSTALL_TARGET_CMDS
$(INSTALL) -m 0644 -D $(@D)/dist/jszip.min.js \
$(TARGET_DIR)/var/www/jszip/js/jszip.min.js
endef
$(eval $(generic-package))