summaryrefslogtreecommitdiff
path: root/user/minizip/APKBUILD
blob: b7de2ee8b3cd3091ba4a7670e1d87a4c8f8bf4e0 (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
35
36
37
38
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=minizip
pkgver=1.3
pkgrel=0
pkgdesc="Miniature ZIP archive manipulation library"
url="https://zlib.net"
arch="all"
license="zlib"
depends=""
makedepends="autoconf automake libtool zlib-dev"
subpackages="$pkgname-dev"
source="https://zlib.net/zlib-$pkgver.tar.gz
	CVE-2023-45853.patch
	"
builddir="$srcdir"/zlib-$pkgver/contrib/minizip

prepare() {
	default_prepare
	autoreconf -vif
}

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="185795044461cd78a5545250e06f6efdb0556e8d1bfe44e657b509dd6f00ba8892c8eb3febe65f79ee0b192d6af857f0e0055326d33a881449f3833f92e5f8fb  zlib-1.3.tar.gz
06bb69fe70c3ad7b11e0cf43ff4f7e631010ccc9d74e736d2106d6bf7b4b0934da7c695011757b57511d176a2cf0b4955b854bb8e78a196abcf2792c40e9cea1  CVE-2023-45853.patch"