Fredrik Fornwall
9 years ago
6 changed files with 10 additions and 26 deletions
@ -1,6 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
# Remove LD_LIBRARY_PATH from environment to avoid conflicting |
|
||||
# with system libraries that am may link against. |
|
||||
|
|
||||
LD_LIBRARY_PATH= exec /system/bin/am $@ |
|
@ -1,9 +1,17 @@ |
|||||
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.17 |
TERMUX_PKG_VERSION=0.18 |
||||
|
|
||||
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 |
||||
|
|
||||
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/ |
# Remove LD_LIBRARY_PATH from environment to avoid conflicting |
||||
|
# with system libraries that am may link against. |
||||
|
for tool in am dalvikvm df logcat ping pm; do |
||||
|
echo '#!/bin/sh' > $TERMUX_PREFIX/bin/$tool |
||||
|
echo "LD_LIBRARY_PATH= exec /system/bin/$tool \$@" >> $TERMUX_PREFIX/bin/$tool |
||||
|
chmod +x $TERMUX_PREFIX/bin/$tool |
||||
|
done |
||||
|
|
||||
|
cp -p $TERMUX_PKG_BUILDER_DIR/{termux-fix-shebang,termux-reload-settings,termux-setup-storage,chsh,termux-open-url} $TERMUX_PREFIX/bin/ |
||||
} |
} |
||||
|
@ -1,6 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
# Remove LD_LIBRARY_PATH from environment to avoid conflicting |
|
||||
# with system libraries that df may link against. |
|
||||
|
|
||||
LD_LIBRARY_PATH= exec /system/bin/df $@ |
|
@ -1,3 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
LD_LIBRARY_PATH= exec /system/bin/logcat $@ |
|
@ -1,3 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
LD_LIBRARY_PATH= exec /system/bin/ping $@ |
|
@ -1,6 +0,0 @@ |
|||||
#!/bin/sh |
|
||||
|
|
||||
# Remove LD_LIBRARY_PATH from environment to avoid conflicting |
|
||||
# with system libraries that pm may link against. |
|
||||
|
|
||||
LD_LIBRARY_PATH= exec /system/bin/pm $@ |
|
Loading…
Reference in new issue