aboutsummaryrefslogtreecommitdiffstats
path: root/community/minizip/APKBUILD
blob: 06276e8b7e486e0a0f05c64cbf445688e86cafb5 (plain) (blame)
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
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=minizip
pkgver=1.2.11
pkgrel=1
pkgdesc="a library for manipulation with files from .zip archives"
arch="all"
license="Zlib"
url="https://zlib.net"
makedepends="automake autoconf libtool zlib-dev"
subpackages="$pkgname-dev"
options="!check" # No testsuite
source="https://zlib.net/zlib-$pkgver.tar.gz
	zlib-1.2.8-minizip-include.patch"

builddir="$srcdir/zlib-$pkgver"/contrib/minizip

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--enable-static=no
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae  zlib-1.2.11.tar.gz
d325818f4674c7aff9e97a6446b01197d89149803b1994441fdcdbdd216206184085cb841bac73dd87472c386335b07283a28cbf852766acd99d55c63f32112d  zlib-1.2.8-minizip-include.patch"