diff options
author | Zach van Rijn <me@zv.io> | 2023-10-23 18:55:54 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2023-10-23 18:55:56 +0000 |
commit | 9629d9c56fdf8b59dfb6196216d0582e5dcec602 (patch) | |
tree | c4334f3d2f0bf20ff703ad9f0c6877dade502826 /legacy/minizip-ng | |
parent | 40a5a88a73a35e1460ba65cb47407b3abcc99b64 (diff) | |
download | packages-9629d9c56fdf8b59dfb6196216d0582e5dcec602.tar.gz packages-9629d9c56fdf8b59dfb6196216d0582e5dcec602.tar.bz2 packages-9629d9c56fdf8b59dfb6196216d0582e5dcec602.tar.xz packages-9629d9c56fdf8b59dfb6196216d0582e5dcec602.zip |
{user => legacy}/minizip-ng: unneeded.
Moved to legacy/ due to filename conflict. See #1089.
Additional work to be done is create a new package for
zlib-ng [1] so as not to depend on upstream zlib, then
ensure that all tests are being run correctly.
It would be a good idea to add a library suffix '-ng'
to avoid conflicts.
[1]: https://github.com/zlib-ng/zlib-ng
Diffstat (limited to 'legacy/minizip-ng')
-rw-r--r-- | legacy/minizip-ng/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/legacy/minizip-ng/APKBUILD b/legacy/minizip-ng/APKBUILD new file mode 100644 index 000000000..7e60b5857 --- /dev/null +++ b/legacy/minizip-ng/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Zach van Rijn <me@zv.io> +pkgname=minizip-ng +pkgver=3.0.6 +pkgrel=0 +pkgdesc="A zip manipulation library written in C, derived from Mark Adler's implementation" +url="https://github.com/zlib-ng/minizip-ng/wiki" +arch="all" +license="Zlib" +depends="" +makedepends="cmake libtool zlib-dev" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/zlib-ng/minizip-ng/archive/refs/tags/${pkgver}.tar.gz" + +build() { + cmake . \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=ON \ + -DMZ_BUILD_TESTS=ON + make +} + +check() { + ./test_cmd +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="92aaad655e7dbec60ab8075435ccdc72314f75f0516aa4a16094215df2b14b108c2b49cdf6c876e396f0f43f52ad63f52ce7db2e119efe25c55b8b873bef9d4f minizip-ng-3.0.6.tar.gz" |