summaryrefslogtreecommitdiff
path: root/user/minizip
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-22 19:04:28 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-22 19:04:28 +0000
commit58a158154ce154dfdd8b3524409c2ec822aaf4dc (patch)
treeda4931cd5801f0c8c5204c14b01e9b1e641cc3dc /user/minizip
parente55f71267fbd5122d69b9c39010fc3eb17d581a4 (diff)
downloadpackages-58a158154ce154dfdd8b3524409c2ec822aaf4dc.tar.gz
packages-58a158154ce154dfdd8b3524409c2ec822aaf4dc.tar.bz2
packages-58a158154ce154dfdd8b3524409c2ec822aaf4dc.tar.xz
packages-58a158154ce154dfdd8b3524409c2ec822aaf4dc.zip
user/minizip: New package
Diffstat (limited to 'user/minizip')
-rw-r--r--user/minizip/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/minizip/APKBUILD b/user/minizip/APKBUILD
new file mode 100644
index 000000000..df93d126f
--- /dev/null
+++ b/user/minizip/APKBUILD
@@ -0,0 +1,36 @@
+# 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"