From 8b352090bfee2d5b9b66610366e0f4bcea2e1643 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 21 Mar 2016 20:08:39 -0400 Subject: [PATCH] termux-tools: Add ping and logcat wrappers --- packages/termux-tools/build.sh | 4 ++-- packages/termux-tools/logcat | 3 +++ packages/termux-tools/ping | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 packages/termux-tools/logcat create mode 100755 packages/termux-tools/ping diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 402083305..55cee7562 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -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/ } diff --git a/packages/termux-tools/logcat b/packages/termux-tools/logcat new file mode 100755 index 000000000..676d8cf4d --- /dev/null +++ b/packages/termux-tools/logcat @@ -0,0 +1,3 @@ +#!/bin/sh + +LD_LIBRARY_PATH= exec /system/bin/logcat $@ diff --git a/packages/termux-tools/ping b/packages/termux-tools/ping new file mode 100755 index 000000000..13bff51ea --- /dev/null +++ b/packages/termux-tools/ping @@ -0,0 +1,3 @@ +#!/bin/sh + +LD_LIBRARY_PATH= exec /system/bin/ping $@