termux-packages/packages/sed/build.sh

15 lines
504 B
Bash
Raw Normal View History

2017-01-05 01:02:45 +01:00
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/sed/
2017-02-05 23:49:31 +01:00
TERMUX_PKG_DESCRIPTION="GNU stream editor for filtering/transforming text"
2018-12-22 11:13:21 +01:00
TERMUX_PKG_VERSION=4.7
TERMUX_PKG_SHA256=2885768cd0a29ff8d58a6280a270ff161f6a3deb5690b2be6c49f46d4c67bd6a
2017-01-05 01:02:45 +01:00
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {
CFLAGS+=" -D__USE_FORTIFY_LEVEL=2"
}
2017-01-05 01:02:45 +01:00
termux_step_post_configure () {
touch -d "next hour" $TERMUX_PKG_SRCDIR/doc/sed.1
2017-01-05 01:02:45 +01:00
}