feather/contrib/depends/packages/libzip.mk
tobtoht bb5c855902
Some checks are pending
ci/gh-actions/build / build-ubuntu-without-scanner (push) Waiting to run
ci/gh-actions/guix / arm-linux-gnueabihf (push) Blocked by required conditions
ci/gh-actions/guix / arm64-apple-darwin (push) Blocked by required conditions
ci/gh-actions/guix / i686-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / riscv64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-apple-darwin (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu.no-tor-bundle (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu.pack (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-w64-mingw32.installer (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-w64-mingw32 (push) Blocked by required conditions
ci/gh-actions/guix / bundle-logs (push) Blocked by required conditions
ci/gh-actions/guix / cache-sources (push) Waiting to run
ci/gh-actions/guix / aarch64-linux-gnu (push) Blocked by required conditions
depends: libzip: update to 1.11.1
2024-09-24 14:11:46 +02:00

39 lines
1.2 KiB
Makefile

package=libzip
$(package)_version=1.11.1
$(package)_download_path=https://libzip.org/download/
$(package)_file_name=$(package)-$($(package)_version).tar.gz
$(package)_sha256_hash=c0e6fa52a62ba11efd30262290dc6970947aef32e0cc294ee50e9005ceac092a
$(package)_dependencies=zlib
define $(package)_set_vars
$(package)_config_opts := -DENABLE_BZIP2=OFF
$(package)_config_opts += -DENABLE_LZMA=OFF
$(package)_config_opts += -DENABLE_ZSTD=OFF
$(package)_config_opts += -DENABLE_COMMONCRYPTO=OFF
$(package)_config_opts += -DENABLE_GNUTLS=OFF
$(package)_config_opts += -DENABLE_MBEDTLS=OFF
$(package)_config_opts += -DENABLE_OPENSSL=OFF
$(package)_config_opts += -DENABLE_WINDOWS_CRYPTO=OFF
$(package)_config_opts += -DBUILD_SHARED_LIBS=OFF
$(package)_config_opts += -DBUILD_TOOLS=OFF
$(package)_config_opts += -DBUILD_REGRESS=OFF
$(package)_config_opts += -DBUILD_OSSFUZZ=OFF
$(package)_config_opts += -DBUILD_EXAMPLES=OFF
$(package)_config_opts += -DBUILD_DOC=OFF
endef
define $(package)_preprocess_cmds
rm -rf regress ossfuzz
endef
define $(package)_config_cmds
$($(package)_cmake) .
endef
define $(package)_build_cmds
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef