Browse Source

use utility 'env' from coreutils

emacs-27
Leonid Plyushch 5 years ago
parent
commit
72a43eaa3a
  1. 4
      packages/busybox/build.sh
  2. 4
      packages/coreutils/build.sh

4
packages/busybox/build.sh

@ -29,10 +29,6 @@ termux_step_post_make_install() {
install busybox_unstripped $PREFIX/bin/busybox install busybox_unstripped $PREFIX/bin/busybox
fi fi
# The 'env' applet is special in that it go into $PREFIX/bin:
cd $TERMUX_PREFIX/bin
ln -f -s busybox env
# Install busybox man page # Install busybox man page
mkdir -p $TERMUX_PREFIX/share/man/man1 mkdir -p $TERMUX_PREFIX/share/man/man1
cp $TERMUX_PKG_SRCDIR/docs/busybox.1 $TERMUX_PREFIX/share/man/man1 cp $TERMUX_PKG_SRCDIR/docs/busybox.1 $TERMUX_PREFIX/share/man/man1

4
packages/coreutils/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Basic file, shell and text manipulation utilities from t
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_VERSION=8.31 TERMUX_PKG_VERSION=8.31
TERMUX_PKG_REVISION=4 TERMUX_PKG_REVISION=5
TERMUX_PKG_SHA256=ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd TERMUX_PKG_SHA256=ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/coreutils/coreutils-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/coreutils/coreutils-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="libandroid-support, libiconv" TERMUX_PKG_DEPENDS="libandroid-support, libiconv"
@ -17,7 +17,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
gl_cv_host_operating_system=Android gl_cv_host_operating_system=Android
ac_cv_func_getpass=yes ac_cv_func_getpass=yes
--disable-xattr --disable-xattr
--enable-no-install-program=pinky,df,chroot,env,users,who,uptime --enable-no-install-program=pinky,df,chroot,users,who,uptime
--enable-single-binary=symlinks --enable-single-binary=symlinks
--without-gmp --without-gmp
" "

Loading…
Cancel
Save