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


                                                  
             






























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