From 16e799786f34721e646e14a2b7e7ab3816137f1a Mon Sep 17 00:00:00 2001
From: davidovski <david@davidovski.xyz>
Date: Sat, 2 Oct 2021 23:21:53 +0100
Subject: added packages

---
 psibuilds/zlib.psibuild | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 psibuilds/zlib.psibuild

(limited to 'psibuilds/zlib.psibuild')

diff --git a/psibuilds/zlib.psibuild b/psibuilds/zlib.psibuild
new file mode 100644
index 0000000..c771727
--- /dev/null
+++ b/psibuilds/zlib.psibuild
@@ -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 
+}
+
-- 
cgit v1.2.1