Package: libzip5 Version: 1.10.1 Revision: 1 Description: Library for handling zip archives Maintainer: Daniel Johnson Homepage: https://libzip.org/ License: BSD DescDetail: << libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages. << DescPackaging: << * Upstream patch to fix compatibility_version after the switch from autotools to cmake. * Checks for GnuTLS/nettle, MbedTLS, and OpenSSL, but doesn't use them, preferring CommonCrypto.h << Source: https://github.com/nih-at/libzip/releases/download/v%v/libzip-%v.tar.xz Source-Checksum: SHA256(dc3c8d5b4c8bbd09626864f6bcf93de701540f761d76b85d7c7d710f4bd90318) PatchFile: %n.patch PatchFile-MD5: 75584d01602e104d5384f4ea14a76fb2 Depends: %N-shlibs (= %v-%r) BuildDepends: << bzip2-dev, cmake, fink (>= 0.32.0), fink-buildenv-modules, fink-package-precedence, liblzma5, libzstd1-dev << BuildDependsOnly: True Conflicts: libzip1, libzip2, libzip5 Replaces: libzip1, libzip2, libzip5 CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild pushd finkbuild cmake $FINK_CMAKE_ARGS \ -DCMAKE_C_FLAGS=-MD \ -DBZIP2_LIBRARY_RELEASE=%p/lib/libbz2.dylib \ -DBZIP2_INCLUDE_DIR=%p/include \ -DLIBLZMA_LIBRARY_RELEASE=%p/lib/liblzma.dylib \ .. make -w popd fink-package-precedence --prohibit-bdep=%n --depfile-ext='\.d' . << #InfoTest: TestScript: cd finkbuild; make check || exit 2 InstallScript: << cd finkbuild; make install DESTDIR=%d << DocFiles: AUTHORS LICENSE NEWS.md README.md THANKS TODO.md SplitOff: << Package: %N-shlibs Depends: << bzip2-shlibs, liblzma5-shlibs, libzstd1-shlibs << Files: lib/libzip.5*dylib Shlibs: %p/lib/libzip.5.dylib 6.0.0 %n (>= 1.2.0-1) DocFiles: AUTHORS LICENSE NEWS.md README.md THANKS TODO.md << SplitOff2: << Package: libzip-bin Depends: << %N-shlibs (>= %v-%r), bzip2-shlibs << Replaces: libzip1-bin, libzip2-bin, libzip5-bin Files: bin share/man/man1 DocFiles: AUTHORS LICENSE NEWS.md README.md THANKS TODO.md << SplitOff3: << Package: %N-bin Description: OBSOLETE: use libzip-bin instead RuntimeDepends: << fink-obsolete-packages, libzip-bin (>= %v-%r) << InstallScript: << mkdir -p %i/share/doc/installed-packages touch %i/share/doc/installed-packages/%n << <<