summaryrefslogtreecommitdiff
path: root/repo/system/lz4/lz4.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/lz4/lz4.xibuild')
-rw-r--r--repo/system/lz4/lz4.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/system/lz4/lz4.xibuild b/repo/system/lz4/lz4.xibuild
new file mode 100644
index 0000000..e0bfd68
--- /dev/null
+++ b/repo/system/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
+}
+