summaryrefslogtreecommitdiff
path: root/xibuilds/zlib.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'xibuilds/zlib.xibuild')
-rw-r--r--xibuilds/zlib.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/xibuilds/zlib.xibuild b/xibuilds/zlib.xibuild
new file mode 100644
index 0000000..c771727
--- /dev/null
+++ b/xibuilds/zlib.xibuild
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://github.com/madler/zlib
+
+
+build () {
+ ./configure --prefix=/usr
+ make
+ make check
+ make DESTDIR=$PKG_DEST install
+}
+
+package () {
+ # Remove a useless static library (lfs recommended)
+ rm -fv $PKG_DEST/usr/lib/libz.a
+}
+