2016-06-23 22:25:17 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://en.wikipedia.org/wiki/Util-linux
|
|
|
|
TERMUX_PKG_DESCRIPTION="Miscellaneous system utilities"
|
2018-11-09 13:29:02 +01:00
|
|
|
TERMUX_PKG_VERSION=2.33
|
2018-11-11 17:20:59 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-11-09 13:29:02 +01:00
|
|
|
TERMUX_PKG_SHA256=f261b9d73c35bfeeea04d26941ac47ee1df937bd3b0583e748217c1ea423658a
|
2017-09-06 14:49:31 +02:00
|
|
|
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
|
2017-07-07 12:51:16 +02:00
|
|
|
TERMUX_PKG_DEPENDS="ncurses, libutil, libcrypt"
|
2017-02-01 23:45:58 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
ac_cv_func_setns=yes
|
|
|
|
ac_cv_func_unshare=yes
|
|
|
|
--disable-agetty
|
|
|
|
--disable-eject
|
|
|
|
--disable-ipcrm
|
|
|
|
--disable-ipcs
|
|
|
|
--disable-kill
|
|
|
|
--disable-last
|
|
|
|
--disable-libuuid
|
|
|
|
--disable-logger
|
|
|
|
--disable-pivot_root
|
|
|
|
--disable-switch_root
|
|
|
|
--disable-wall
|
2017-06-29 01:06:34 +02:00
|
|
|
--disable-libmount
|
2017-09-06 14:49:31 +02:00
|
|
|
--disable-lsmem
|
|
|
|
--disable-chmem
|
2018-05-19 03:18:52 +02:00
|
|
|
--disable-rfkill
|
2017-02-01 23:45:58 +01:00
|
|
|
"
|
2016-06-23 22:25:17 +02:00
|
|
|
|
2017-02-01 23:45:58 +01:00
|
|
|
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
|
|
|
|
}
|