termux-tools: Add ping and logcat wrappers

This commit is contained in:
Fredrik Fornwall 2016-03-21 20:08:39 -04:00
parent d13d71aa27
commit 8b352090bf
3 changed files with 8 additions and 2 deletions

View File

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=http://termux.com/
TERMUX_PKG_DESCRIPTION="Some tools for Termux"
TERMUX_PKG_VERSION=0.16
TERMUX_PKG_VERSION=0.17
termux_step_make_install () {
$CXX $CFLAGS $LDFLAGS -std=c++14 -Wall -Wextra -pedantic -Werror $TERMUX_PKG_BUILDER_DIR/*.cpp -o $TERMUX_PREFIX/bin/termux-elf-cleaner
cp -p $TERMUX_PKG_BUILDER_DIR/{am,pm,df,termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url} $TERMUX_PREFIX/bin/
cp -p $TERMUX_PKG_BUILDER_DIR/{am,pm,df,ping,logcat,termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url} $TERMUX_PREFIX/bin/
}

3
packages/termux-tools/logcat Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
LD_LIBRARY_PATH= exec /system/bin/logcat $@

3
packages/termux-tools/ping Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
LD_LIBRARY_PATH= exec /system/bin/ping $@