summaryrefslogtreecommitdiff
path: root/user/minizip/APKBUILD
blob: c9257b9096993392e0ee03da56fc9d2022c68b8a (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=minizip
pkgver=1.2.13
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"
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="99f0e843f52290e6950cc328820c0f322a4d934a504f66c7caa76bd0cc17ece4bf0546424fc95135de85a2656fed5115abb835fd8d8a390d60ffaf946c8887ad  zlib-1.2.13.tar.gz"