termux-packages/root-packages/frida-server/frida-tools.subpackage.sh
Henrik Grimler 9b8cb4d83c
frida-server: update to 14.2.14
Also create new subpackage frida-dev with libraries and include files.

Frida should be built with ndk r22 but I have now patched it to use
r21 since we have not switched to r22 yet.  Using a lower version
might break stuff, but frida-python is already broken anyways since it
relies on python3.8 so building with r21 does not make the current
situation worse.

Updating it now so that the version in the Bintray repos will not be
left in guaranteed broken state.
2022-04-18 14:31:51 +05:30

17 lines
474 B
Bash

TERMUX_SUBPKG_DESCRIPTION="CLI tools for Frida"
TERMUX_SUBPKG_DEPENDS="frida-python"
TERMUX_SUBPKG_INCLUDE="
bin/frida-discover
bin/frida
bin/frida-kill
bin/frida-ls-devices
bin/frida-ps
bin/frida-trace
"
termux_step_create_subpkg_debscripts() {
_PYTHON_VERSION=$(source $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "pip${_PYTHON_VERSION} install prompt_toolkit colorama pygments" >> postinst
}