You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.0 KiB
38 lines
1.0 KiB
TERMUX_PKG_HOMEPAGE=https://en.wikipedia.org/wiki/Util-linux
|
|
TERMUX_PKG_DESCRIPTION="Miscellaneous system utilities"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_VERSION=2.34
|
|
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/util-linux/v${TERMUX_PKG_VERSION:0:4}/util-linux-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=743f9d0c7252b6db246b659c1e1ce0bd45d8d4508b4dfa427bbb4a3e9b9f62b5
|
|
TERMUX_PKG_DEPENDS="ncurses, libcrypt, zlib"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
ac_cv_func_setns=yes
|
|
ac_cv_func_unshare=yes
|
|
--disable-agetty
|
|
--disable-ctrlaltdel
|
|
--disable-eject
|
|
--disable-fdformat
|
|
--disable-ipcrm
|
|
--disable-ipcs
|
|
--disable-kill
|
|
--disable-last
|
|
--disable-libuuid
|
|
--disable-logger
|
|
--disable-mesg
|
|
--disable-nologin
|
|
--disable-pivot_root
|
|
--disable-raw
|
|
--disable-switch_root
|
|
--disable-wall
|
|
--disable-libmount
|
|
--disable-lsmem
|
|
--disable-chmem
|
|
--disable-rfkill
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
if [ $TERMUX_ARCH_BITS = 64 ]; then
|
|
# prlimit() is only available in 64-bit bionic.
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_prlimit=yes"
|
|
fi
|
|
}
|
|
|