termux-packages/packages/libzip/build.sh
Konstantin Podsvirov 5f85fc230b
fixup(libzip): depend to zstd (#9963)
Because:

$ ldd /data/data/com.termux/files/usr/lib/libzip.so
libbz2.so.1.0
liblzma.so.5
libzstd.so.1
libcrypto.so.3
libz.so.1
libc.so
2022-04-11 07:10:57 +05:30

18 lines
671 B
Bash

TERMUX_PKG_HOMEPAGE=https://libzip.org/
TERMUX_PKG_DESCRIPTION="Library for reading, creating, and modifying zip archives"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.8.0
TERMUX_PKG_REVISION=3
TERMUX_PKG_SRCURL=https://github.com/nih-at/libzip/releases/download/v$TERMUX_PKG_VERSION/libzip-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libbz2, openssl, zlib, zstd"
TERMUX_PKG_BREAKS="libzip-dev"
TERMUX_PKG_REPLACES="libzip-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DENABLE_GNUTLS=NO
-DENABLE_MBEDTLS=NO
-DENABLE_OPENSSL=YES
"