Skip to contentSkip to conversation

zstd: add new package

PATCH Superseded Andrey Smirnov 1 participant 1 message Jul 12, 2017 Zstd

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 zstd: add new package

Add package to provide Zstandard compression tools (see https://facebook.github.io/zstd)

Minimal config snippet for utils/test-pkg is as follows:

BR2_PACKAGE_ZSTD=y

---

Changes since [v1]:

- Remove all of the excessive configuration options and simplify installation rules to just calling "make install"

- Add support for HAVE_LZ4

- Add missing hash file

[v1] http://lists.busybox.net/pipermail/buildroot/2017-July/196739.html

 DEVELOPERS             |  1 +
 package/Config.in      |  1 +
 package/zstd/Config.in | 13 +++++++++++++
 package/zstd/zstd.hash |  2 ++
 package/zstd/zstd.mk   | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 66 insertions(+)
 create mode 100644 package/zstd/Config.in
 create mode 100644 package/zstd/zstd.hash
 create mode 100644 package/zstd/zstd.mk
DEVELOPERS +1 -0
index 4380cbc..dc4e09e 100644
@@ -100,6 +100,7 @@ F:	package/python-scandir/
 F:	package/python-simplegeneric/
 F:	package/python-systemd/
 F:	package/python-traitlets/
+F:	package/zstd/
 
 N:	Andrey Yurovsky <[email protected]>
 F:	package/rauc/
package/Config.in +1 -0
index a88e355..4025072 100644
@@ -73,6 +73,7 @@ menu "Compressors and decompressors"
 	source "package/unzip/Config.in"
 	source "package/xz/Config.in"
 	source "package/zip/Config.in"
+	source "package/zstd/Config.in"
 endmenu
 
 menu "Debugging, profiling and benchmark"
package/zstd/Config.in new file +13 -0
new file mode 100644
index 0000000..0e97c64
@@ -0,0 +1,13 @@
+menuconfig BR2_PACKAGE_ZSTD
+	bool "zstd"
+	help
+	  Zstandard, or zstd as short version, is a fast lossless
+	  compression algorithm, targeting real-time compression
+	  scenarios at zlib-level and better compression ratios
+
+	  For more info see https://facebook.github.io/zstd
+
+	  The selection of other packages will enable some features:
+
+	  - xz, lz4 and/or zlib will enable support for corresponding
+	    compression formats
\ No newline at end of file
package/zstd/zstd.hash new file +2 -0
new file mode 100644
index 0000000..1bd9016
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 4a7e4593a3638276ca7f2a09dc4f38e674d8317bbea51626393ca73fc047cbfb zstd-v1.2.0.tar.gz
package/zstd/zstd.mk new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
2.9.4