summaryrefslogblamecommitdiff
path: root/user/minizip/APKBUILD
blob: df93d126fc6197a1ca07d0ea011ba46c6302a434 (plain) (tree)



































                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=minizip
pkgver=1.2.11
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="73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae  zlib-1.2.11.tar.gz"