Browse Source

termux-exec: Add package

android-5
Fredrik Fornwall 7 years ago
parent
commit
8c4313e32e
  1. 7
      packages/termux-exec/build.sh
  2. 2
      packages/termux-tools/build.sh
  3. 4
      packages/termux-tools/login

7
packages/termux-exec/build.sh

@ -0,0 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://github.com/termux/termux-exec
TERMUX_PKG_DESCRIPTION="An execve() wrapper to make /bin and /usr/bin shebangs work"
TERMUX_PKG_VERSION=0.1
TERMUX_PKG_SHA256=624add76fbefd2f45a3dc3207f64c12c9993c5c5afac8654f787175c72dac0e9
TERMUX_PKG_SRCURL=https://github.com/termux/termux-exec/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_FOLDERNAME=termux-exec-$TERMUX_PKG_VERSION
TERMUX_PKG_BUILD_IN_SRC=yes

2
packages/termux-tools/build.sh

@ -1,6 +1,6 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_VERSION=0.44 TERMUX_PKG_VERSION=0.45
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_CONFFILES="etc/motd" TERMUX_PKG_CONFFILES="etc/motd"

4
packages/termux-tools/login

@ -15,5 +15,9 @@ else
done done
fi fi
if [ -f $PREFIX/lib/libtermux-exec.so ]; then
export LD_PRELOAD=$PREFIX/lib/libtermux-exec.so
fi
exec "$SHELL" -l exec "$SHELL" -l

Loading…
Cancel
Save