summaryrefslogtreecommitdiff
path: root/repo/lz4
diff options
context:
space:
mode:
Diffstat (limited to 'repo/lz4')
-rw-r--r--repo/lz4/lz4.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/lz4/lz4.xibuild b/repo/lz4/lz4.xibuild
new file mode 100644
index 0000000..e0bfd68
--- /dev/null
+++ b/repo/lz4/lz4.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="sh"
+
+PKG_VER=1.9.3
+SOURCE=https://github.com/lz4/lz4/archive/refs/tags/v$PKG_VER.tar.gz
+DESC="A lossless compression algorithm, providing high compression speeds"
+
+
+build () {
+ make -C lib PREFIX=/usr
+ make -C programs PREFIX=/usr lz4 lz4c
+}
+
+package () {
+ make PREFIX=/usr DESTDIR=$PKG_DEST install
+}
+