sps-core · log · files · refs · tags · releases · people · languages · GitHub · commit
18abfa9
base: add compression stack
Parents
Stat
base/bzip2/recipe | 12 ++++++++++++ base/xz/recipe | 13 +++++++++++++ base/zstd/recipe | 12 ++++++++++++ 3 files changed, 37 insertions(+)
Diff
diff --git a/base/bzip2/recipe b/base/bzip2/recipe
new file mode 100644
index 0000000..6c7cd7e
--- /dev/null
+++ b/base/bzip2/recipe
@@ -0,0 +1,12 @@
+name bzip2
+version 1.0.8
+release 1
+description bzip2: block-sorting file compressor
+
+source https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz
+hash sha256:ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
+
+depend filesystem
+
+build make -j"$MAKEJOBS"
+install make install PREFIX="$PKG/usr"
diff --git a/base/xz/recipe b/base/xz/recipe
new file mode 100644
index 0000000..1c2bc53
--- /dev/null
+++ b/base/xz/recipe
@@ -0,0 +1,13 @@
+name xz
+version 5.8.3
+release 1
+description XZ Utils: high compression ratio data compression
+
+source https://tukaani.org/xz/xz-${version}.tar.xz
+hash sha256:fff1ffcf2b0da84d308a14de513a1aa23d4e9aa3464d17e64b9714bfdd0bbfb6
+
+depend filesystem
+
+configure ./configure --prefix=/usr
+build make -j"$MAKEJOBS"
+install make install DESTDIR="$PKG"
diff --git a/base/zstd/recipe b/base/zstd/recipe
new file mode 100644
index 0000000..7b15f46
--- /dev/null
+++ b/base/zstd/recipe
@@ -0,0 +1,12 @@
+name zstd
+version 1.5.7
+release 1
+description Zstandard: fast real-time compression algorithm
+
+source https://github.com/facebook/zstd/releases/download/v${version}/zstd-${version}.tar.gz
+hash sha256:eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3
+
+depend filesystem
+
+build make -j"$MAKEJOBS"
+install make install PREFIX="$PKG/usr"