summaryrefslogtreecommitdiff
path: root/repo/minizip/minizip.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/minizip/minizip.xibuild
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/minizip/minizip.xibuild')
-rw-r--r--repo/minizip/minizip.xibuild31
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
+}
+