summaryrefslogtreecommitdiff
path: root/repo/minizip/minizip.xibuild
blob: 955ae7e784275c23cf77ffe7cbff21bf4612193d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}