From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/5] package/jszip: new package
Date: Tue, 8 Dec 2020 19:05:24 +0100 [thread overview]
Message-ID: <20201208180529.9152-1-patrickdepinguin@gmail.com> (raw)
From: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/jszip/Config.in | 7 +++++++
package/jszip/jszip.hash | 3 +++
package/jszip/jszip.mk | 17 +++++++++++++++++
5 files changed, 29 insertions(+)
create mode 100644 package/jszip/Config.in
create mode 100644 package/jszip/jszip.hash
create mode 100644 package/jszip/jszip.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 9ab1e125f4..5cb272e7ae 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -2503,6 +2503,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/
diff --git a/package/Config.in b/package/Config.in
index 016a99ed1a..5fb6eaeccf 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1586,6 +1586,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"
diff --git a/package/jszip/Config.in b/package/jszip/Config.in
new file mode 100644
index 0000000000..455891ab12
--- /dev/null
+++ b/package/jszip/Config.in
@@ -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
diff --git a/package/jszip/jszip.hash b/package/jszip/jszip.hash
new file mode 100644
index 0000000000..13a7765ed9
--- /dev/null
+++ b/package/jszip/jszip.hash
@@ -0,0 +1,3 @@
+# Locally computed:
+sha256 e5343decfb781b15c54c0df9ddedd6c8518c800a4667a0a95741c694a4f38d34 jszip-v3.2.2.tar.gz
+sha256 14450c78405ad2a2173e25740b56406556779149df9c4c83523a8c63d0686210 LICENSE.markdown
diff --git a/package/jszip/jszip.mk b/package/jszip/jszip.mk
new file mode 100644
index 0000000000..0e20f4c40e
--- /dev/null
+++ b/package/jszip/jszip.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# jszip
+#
+################################################################################
+
+JSZIP_VERSION = v3.2.2
+JSZIP_SITE = $(call github,Stuk,jszip,$(JSZIP_VERSION))
+JSZIP_LICENSE = MIT
+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))
--
2.26.2
next reply other threads:[~2020-12-08 18:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 18:05 Thomas De Schampheleire [this message]
2020-12-08 18:05 ` [Buildroot] [PATCH 2/5] package/datatables: new package Thomas De Schampheleire
2021-01-02 10:55 ` Thomas Petazzoni
2020-12-08 18:05 ` [Buildroot] [PATCH 3/5] package/datatables-buttons: " Thomas De Schampheleire
2021-01-02 11:06 ` Thomas Petazzoni
2020-12-08 18:05 ` [Buildroot] [PATCH 4/5] package/datatables-fixedcolumns: " Thomas De Schampheleire
2021-01-02 11:22 ` Thomas Petazzoni
2020-12-08 18:05 ` [Buildroot] [PATCH 5/5] package/datatables-responsive: " Thomas De Schampheleire
2021-01-02 11:25 ` Thomas Petazzoni
2021-01-02 10:33 ` [Buildroot] [PATCH 1/5] package/jszip: " Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201208180529.9152-1-patrickdepinguin@gmail.com \
--to=patrickdepinguin@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox