blob: 42e5a30694900542e327ba7ed2c69ec5def1c776 (
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
32
33
34
35
36
37
38
39
40
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=minizip
pkgver=1.2.13
pkgrel=0
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-static $pkgname-dev"
options="!check" # No testsuite
source="https://zlib.net/zlib-$pkgver.tar.xz
zlib-1.2.8-minizip-include.patch"
builddir="$srcdir/zlib-$pkgver"/contrib/minizip
# secfixes:
# 1.2.12-r0:
# - CVE-2018-25032
prepare() {
default_prepare
autoreconf -fi
}
build() {
./configure \
--prefix=/usr \
--enable-static=yes
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
9e7ac71a1824855ae526506883e439456b74ac0b811d54e94f6908249ba8719bec4c8d7672903c5280658b26cb6b5e93ecaaafe5cdc2980c760fa196773f0725 zlib-1.2.13.tar.xz
d325818f4674c7aff9e97a6446b01197d89149803b1994441fdcdbdd216206184085cb841bac73dd87472c386335b07283a28cbf852766acd99d55c63f32112d zlib-1.2.8-minizip-include.patch
"
|