From 0a31fc2a959ea1230d07cfd837f5a9a945a7f80a Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 6 Oct 2021 17:19:20 +0100 Subject: Initial commit, added core packages --- repo/core/zlib.xibuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 repo/core/zlib.xibuild (limited to 'repo/core/zlib.xibuild') diff --git a/repo/core/zlib.xibuild b/repo/core/zlib.xibuild new file mode 100644 index 0000000..426fdfe --- /dev/null +++ b/repo/core/zlib.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +DEPS=(glibc) + +SOURCE=https://github.com/madler/zlib +DESC="compression and decompression routines used by some programs" + + +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