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.
31 lines
950 B
31 lines
950 B
9 years ago
|
TERMUX_PKG_HOMEPAGE=https://en.wikipedia.org/wiki/Util-linux
|
||
|
TERMUX_PKG_DESCRIPTION="Miscellaneous system utilities"
|
||
8 years ago
|
TERMUX_PKG_VERSION=2.29.1
|
||
|
TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-${TERMUX_PKG_VERSION}.tar.xz
|
||
|
TERMUX_PKG_SHA256=0ce40600b934ec2fecfa6bfc4efe6982d051ba96c2832b05201347aec582f54f
|
||
|
TERMUX_PKG_DEPENDS="ncurses, libutil"
|
||
|
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
|
||
|
"
|
||
|
# bin/column is currently bundled in the fish package:
|
||
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/column share/man/man1/column.1"
|
||
9 years ago
|
|
||
8 years ago
|
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
|
||
|
}
|