termux-packages/packages/sed/build.sh

19 lines
613 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"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
2020-01-18 13:16:30 +01:00
TERMUX_PKG_VERSION=4.8
2020-07-07 18:35:31 +02:00
TERMUX_PKG_REVISION=1
2017-01-05 01:02:45 +01:00
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/sed/sed-${TERMUX_PKG_VERSION}.tar.xz
2020-01-18 13:16:30 +01:00
TERMUX_PKG_SHA256=f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633
TERMUX_PKG_ESSENTIAL=true
TERMUX_PKG_BUILD_IN_SRC=true
2017-01-05 01:02:45 +01:00
termux_step_pre_configure() {
CFLAGS+=" -D__USE_FORTIFY_LEVEL=2"
}
termux_step_post_configure() {
touch -d "next hour" $TERMUX_PKG_SRCDIR/doc/sed.1
2017-01-05 01:02:45 +01:00
}