diff options
Diffstat (limited to 'repo/minizip/minizip.xibuild')
-rw-r--r-- | repo/minizip/minizip.xibuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/minizip/minizip.xibuild b/repo/minizip/minizip.xibuild new file mode 100644 index 0000000..955ae7e --- /dev/null +++ b/repo/minizip/minizip.xibuild @@ -0,0 +1,31 @@ +#!/bin/sh + +NAME="minizip" +DESC="a library for manipulation with files from .zip archives" + +MAKEDEPS=" automake autoconf libtool zlib" + +PKG_VER=1.2.12 +SOURCE="https://github.com/madler/zlib/archive/refs/tags/v$PKG_VER.tar.gz" + +ADDITIONAL=" +zlib-1.2.8-minizip-include.patch +" + +prepare() { + cd contrib/minizip + apply_patches + autoreconf -fi +} + +build() { + ./configure \ + --prefix=/usr \ + --enable-static=yes + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |