summaryrefslogblamecommitdiff
path: root/user/minizip/APKBUILD
blob: c9257b9096993392e0ee03da56fc9d2022c68b8a (plain) (tree)
1
2
3
4


                                                  
             






























                                                    
                                                                                                                                                                 
# 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"