summaryrefslogtreecommitdiffhomepage
path: root/groups.d/231.native_packages_etc.d/minizip.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/231.native_packages_etc.d/minizip.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
Diffstat (limited to 'groups.d/231.native_packages_etc.d/minizip.package')
-rw-r--r--groups.d/231.native_packages_etc.d/minizip.package20
1 files changed, 20 insertions, 0 deletions
diff --git a/groups.d/231.native_packages_etc.d/minizip.package b/groups.d/231.native_packages_etc.d/minizip.package
new file mode 100644
index 00000000..ba9565c8
--- /dev/null
+++ b/groups.d/231.native_packages_etc.d/minizip.package
@@ -0,0 +1,20 @@
+: ${PKG_MINIZIP_DEPENDS:="bzip2 libressl libz xz"};
+: ${PKG_MINIZIP_SHA256SUM:=f4c8e7afdd45a093f69d7d338652996766d5473e63ad97a2c5cf89c0787773a0};
+: ${PKG_MINIZIP_VERSION:=2.10.4};
+: ${PKG_MINIZIP_URL:=https://github.com/nmoinvaz/minizip/archive/${PKG_MINIZIP_VERSION}.tar.gz};
+: ${PKG_MINIZIP_CMAKE_ARGS_EXTRA:="
+ -DBUILD_SHARED_LIBS=ON
+ -DBZIP2_LIBRARIES=${PREFIX_NATIVE}/lib/libbz2.lib.a
+ -DPKG_CONFIG_EXECUTABLE=${PREFIX}/bin/${DEFAULT_TARGET}-pkg-config
+ -DMZ_BUILD_TEST=ON
+ -DMZ_LIBBSD=OFF
+ -DMZ_LZMA=ON
+ -DMZ_OPENSSL=ON
+ -DMZ_ZSTD=OFF
+ -DZLIB_INCLUDE_DIR=${PREFIX_NATIVE}/include
+ -DZLIB_LIBRARY_DEBUG=${PREFIX_NATIVE}/lib/libz.lib.a"};
+: ${PKG_MINIZIP_SUBDIR:=minizip-ng-${PKG_MINIZIP_VERSION}};
+
+ex_pkg_register "minizip" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0