Commit | Line | Data |
---|---|---|
e8ca3e6a FF |
1 | TERMUX_PKG_HOMEPAGE=https://en.wikipedia.org/wiki/Util-linux |
2 | TERMUX_PKG_DESCRIPTION="Miscellaneous system utilities" | |
0a5950aa | 3 | TERMUX_PKG_VERSION=2.29.2 |
ef395df3 | 4 | TERMUX_PKG_SRCURL=https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-${TERMUX_PKG_VERSION}.tar.xz |
0a5950aa | 5 | TERMUX_PKG_SHA256=accea4d678209f97f634f40a93b7e9fcad5915d1f4749f6c47bee6bf110fe8e3 |
aa58dcc9 | 6 | TERMUX_PKG_DEPENDS="ncurses, libutil, libcrypt" |
ef395df3 FF |
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 | |
f019ac11 | 21 | --disable-libmount |
ef395df3 FF |
22 | " |
23 | # bin/column is currently bundled in the fish package: | |
24 | TERMUX_PKG_RM_AFTER_INSTALL="bin/column share/man/man1/column.1" | |
e8ca3e6a | 25 | |
ef395df3 FF |
26 | termux_step_pre_configure() { |
27 | if [ $TERMUX_ARCH_BITS = 64 ]; then | |
28 | # prlimit() is only available in 64-bit bionic. | |
29 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_func_prlimit=yes" | |
30 | fi | |
31 | } |