c352216c63
Variables TERMUX_PKG_PLATFORM_INDEPENDENT TERMUX_DEBUG TERMUX_PKG_HAS_DEBUG TERMUX_PKG_ESSENTIAL TERMUX_SUBPKG_ESSENTIAL TERMUX_PKG_NO_STATICSPLIT TERMUX_PKG_BUILD_IN_SRC TERMUX_PKG_FORCE_CMAKE TERMUX_PKG_HOSTBUILD should not accept arbitrary values for marking them "enabled". Instead they should accept boolean values which makes them easier to handle and also makes their meaning clear. build-package.sh should make decision based on variable's value but not on whether it is set or empty. %ci:no-build
18 lines
580 B
Bash
18 lines
580 B
Bash
TERMUX_PKG_HOMEPAGE=http://www.info-zip.org/
|
|
TERMUX_PKG_DESCRIPTION="Tools for working with zip files"
|
|
TERMUX_PKG_LICENSE="BSD"
|
|
TERMUX_PKG_VERSION=3.0
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/infozip/zip30.tar.gz
|
|
TERMUX_PKG_SHA256=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
|
|
TERMUX_PKG_DEPENDS="libandroid-support, libbz2"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_configure() {
|
|
cp unix/Makefile Makefile
|
|
}
|
|
|
|
termux_step_make() {
|
|
LD="$CC $LDFLAGS" CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" make -j $TERMUX_MAKE_PROCESSES generic
|
|
}
|