+termux_step_pre_configure() {
+ # Bundle posix man pages in same package:
+ local _POSIX_TARFILE=man-pages-posix-2013-a.tar.xz
+ if [ ! -f $TERMUX_PKG_CACHEDIR/$_POSIX_TARFILE ]; then
+ termux_download \
+ https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$_POSIX_TARFILE \
+ $TERMUX_PKG_CACHEDIR/$_POSIX_TARFILE \
+ 19633a5c75ff7deab35b1d2c3d5b7748e7bd4ef4ab598b647bb7e7f60b90a808
+
+ fi
+ mkdir -p $TERMUX_PKG_TMPDIR/man-pages-posix
+ cd $TERMUX_PKG_TMPDIR/man-pages-posix
+ tar xf $TERMUX_PKG_CACHEDIR/$_POSIX_TARFILE
+ cd man-pages-posix-2013-a
+ make install