Commit | Line | Data |
---|---|---|
e8ca3e6a FF |
1 | TERMUX_PKG_HOMEPAGE=https://en.wikipedia.org/wiki/Util-linux |
2 | TERMUX_PKG_DESCRIPTION="Miscellaneous system utilities" | |
ef395df3 FF |
3 | TERMUX_PKG_VERSION=2.29.1 |
4 | TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-${TERMUX_PKG_VERSION}.tar.xz | |
5 | TERMUX_PKG_SHA256=0ce40600b934ec2fecfa6bfc4efe6982d051ba96c2832b05201347aec582f54f | |
6 | TERMUX_PKG_DEPENDS="ncurses, libutil" | |
7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | |
8 | ac_cv_func_setns=yes | |
9 | ac_cv_func_unshare=yes | |
10 | --disable-agetty | |
11 | --disable-eject | |
12 | --disable-ipcrm | |
13 | --disable-ipcs | |
14 | --disable-kill | |
15 | --disable-last | |
16 | --disable-libuuid | |
17 | --disable-logger | |
18 | --disable-pivot_root | |
19 | --disable-switch_root | |
20 | --disable-wall | |
21 | " | |
22 | # bin/column is currently bundled in the fish package: | |
23 | TERMUX_PKG_RM_AFTER_INSTALL="bin/column share/man/man1/column.1" | |
e8ca3e6a | 24 | |
ef395df3 FF |
25 | termux_step_pre_configure() { |
26 | if [ $TERMUX_ARCH_BITS = 64 ]; then | |
27 | # prlimit() is only available in 64-bit bionic. | |
28 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_prlimit=yes" | |
29 | fi | |
30 | } |