diff options
Diffstat (limited to 'psibuilds/zlib.psibuild')
-rw-r--r-- | psibuilds/zlib.psibuild | 19 |
1 files changed, 19 insertions, 0 deletions
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 +} + |