termux-tools: Add ping and logcat wrappers
This commit is contained in:
parent
d13d71aa27
commit
8b352090bf
@ -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
3
packages/termux-tools/logcat
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
LD_LIBRARY_PATH= exec /system/bin/logcat $@
|
3
packages/termux-tools/ping
Executable file
3
packages/termux-tools/ping
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
LD_LIBRARY_PATH= exec /system/bin/ping $@
|
Loading…
Reference in New Issue
Block a user