37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
16 lines
728 B
Bash
16 lines
728 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.zlib.net/
|
|
TERMUX_PKG_DESCRIPTION="Compression library implementing the deflate compression method found in gzip and PKZIP"
|
|
TERMUX_PKG_LICENSE="ZLIB"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1.2.11
|
|
TERMUX_PKG_REVISION=5
|
|
TERMUX_PKG_SRCURL=https://www.zlib.net/zlib-$TERMUX_PKG_VERSION.tar.xz
|
|
TERMUX_PKG_SHA256=4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066
|
|
TERMUX_PKG_BREAKS="ndk-sysroot (<< 19b-3), zlib-dev"
|
|
TERMUX_PKG_REPLACES="ndk-sysroot (<< 19b-3), zlib-dev"
|
|
|
|
termux_step_configure() {
|
|
"$TERMUX_PKG_SRCDIR/configure" --prefix=$TERMUX_PREFIX
|
|
sed -n '/Copyright (C) 1995-/,/madler@alumni.caltech.edu/p' "$TERMUX_PKG_SRCDIR/zlib.h" > "$TERMUX_PKG_SRCDIR/LICENSE"
|
|
}
|