Add ip command to termux-tools
This commit is contained in:
parent
dc660e40c0
commit
f21a7e1f74
@ -1,13 +1,13 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=http://termux.com/
|
TERMUX_PKG_HOMEPAGE=http://termux.com/
|
||||||
TERMUX_PKG_DESCRIPTION="Some tools for Termux"
|
TERMUX_PKG_DESCRIPTION="Some tools for Termux"
|
||||||
TERMUX_PKG_VERSION=0.23
|
TERMUX_PKG_VERSION=0.24
|
||||||
|
|
||||||
termux_step_make_install () {
|
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
|
$CXX $CFLAGS $LDFLAGS -std=c++14 -Wall -Wextra -pedantic -Werror $TERMUX_PKG_BUILDER_DIR/*.cpp -o $TERMUX_PREFIX/bin/termux-elf-cleaner
|
||||||
|
|
||||||
# Remove LD_LIBRARY_PATH from environment to avoid conflicting
|
# Remove LD_LIBRARY_PATH from environment to avoid conflicting
|
||||||
# with system libraries that am may link against.
|
# with system libraries that am may link against.
|
||||||
for tool in am dalvikvm df getprop logcat ping ping6 pm; do
|
for tool in am dalvikvm df getprop logcat ping ping6 ip pm; do
|
||||||
WRAPPER_FILE=$TERMUX_PREFIX/bin/$tool
|
WRAPPER_FILE=$TERMUX_PREFIX/bin/$tool
|
||||||
echo '#!/bin/sh' > $WRAPPER_FILE
|
echo '#!/bin/sh' > $WRAPPER_FILE
|
||||||
if [ $tool = am -o $tool = pm ]; then
|
if [ $tool = am -o $tool = pm ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user