summaryrefslogtreecommitdiff
path: root/repo/system/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/zlib')
-rw-r--r--repo/system/zlib/zlib.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/system/zlib/zlib.xibuild b/repo/system/zlib/zlib.xibuild
new file mode 100644
index 0000000..15dbe59
--- /dev/null
+++ b/repo/system/zlib/zlib.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="musl"
+
+PKG_VER=1.2.11
+SOURCE=https://github.com/madler/zlib/archive/refs/tags/v$PKG_VER.tar.gz
+DESC="compression and decompression routines used by some programs"
+
+
+build () {
+ ./configure --prefix=/usr
+ make
+}
+
+check () {
+ make check
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ rm -f $PKG_DEST/usr/lib/libz.a
+}
+