2020-01-01 18:27:20 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://tobold.org/article/rc
|
|
|
|
TERMUX_PKG_DESCRIPTION="An alternative implementation of the plan 9 rc shell"
|
|
|
|
TERMUX_PKG_LICENSE="ZLIB"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-01-01 18:27:20 +01:00
|
|
|
TERMUX_PKG_VERSION=1.7.4
|
2022-02-08 08:30:39 +01:00
|
|
|
TERMUX_PKG_REVISION=4
|
|
|
|
TERMUX_PKG_SRCURL=https://sources.voidlinux-ppc.org/rc-${TERMUX_PKG_VERSION}/v${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=0b83f8698dd8ef44ca97b25c4748c087133f53c7fff39b6b70dab65931def8b0
|
2020-01-01 18:27:20 +01:00
|
|
|
TERMUX_PKG_DEPENDS="readline"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2022-02-08 08:30:39 +01:00
|
|
|
TERMUX_PKG_HOSTBUILD=true
|
2020-01-01 18:27:20 +01:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
ac_cv_func_setpgrp_void=yes
|
|
|
|
rc_cv_sysv_sigcld=no
|
|
|
|
"
|
2022-02-08 08:30:39 +01:00
|
|
|
|
|
|
|
termux_step_host_build() {
|
|
|
|
(cd $TERMUX_PKG_SRCDIR && autoreconf -vfi)
|
|
|
|
$TERMUX_PKG_SRCDIR/configure
|
|
|
|
make mksignal mkstatval
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
autoreconf -vfi
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/{mksignal,mkstatval} $TERMUX_PKG_BUILDDIR/
|
|
|
|
touch -d 'next hour' $TERMUX_PKG_BUILDDIR/{mksignal,mkstatval}
|
|
|
|
}
|