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
581 B
Bash
18 lines
581 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/sed/
|
|
TERMUX_PKG_DESCRIPTION="GNU stream editor for filtering/transforming text"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_VERSION=4.7
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a
|
|
TERMUX_PKG_ESSENTIAL=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
CFLAGS+=" -D__USE_FORTIFY_LEVEL=2"
|
|
}
|
|
|
|
termux_step_post_configure() {
|
|
touch -d "next hour" $TERMUX_PKG_SRCDIR/doc/sed.1
|
|
}
|