637f22d133
This fixes Android 6 problems (so closes #26). It also rebuilds termux-elf-cleaner when needed and bumps some build revisions for packages needed updates to remove DT_VERDEF and DT_VERDEFNUM.
12 lines
485 B
Bash
12 lines
485 B
Bash
TERMUX_PKG_HOMEPAGE=http://termux.com/
|
|
TERMUX_PKG_DESCRIPTION="Some tools for Termux"
|
|
TERMUX_PKG_VERSION=0.12
|
|
|
|
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 $TERMUX_PKG_BUILDER_DIR/{am,pm,termux-fix-shebang,termux-reload-style,chsh,termux-open-url} $TERMUX_PREFIX/bin/
|
|
|
|
sed -i "s%\@TERMUX_PREFIX\@%${TERMUX_PREFIX}%g" $TERMUX_PREFIX/bin/termux-fix-shebang
|
|
}
|