Files
termux-packages/root-packages/frida/frida-python.subpackage.sh
termux-pacman-bot 9dcc62f038 updpkg(root/frida): 17.2.11
frida version 17 has moved over from plain Makefiles to meson, and we
more or less needed to port the package again from scratch.
2025-07-14 11:13:20 +00:00

30 lines
774 B
Bash

TERMUX_SUBPKG_DESCRIPTION="Python bindings and CLI tools for Frida"
TERMUX_SUBPKG_INCLUDE="
bin/frida
bin/frida-apk
bin/frida-create
bin/frida-discover
bin/frida-kill
bin/frida-ls-devices
bin/frida-ps
bin/frida-trace
bin/frida-itrace
bin/frida-join
bin/frida-ls
bin/frida-pm
bin/frida-pull
bin/frida-push
bin/frida-rm
lib/python*
share/gir-1.0
share/fish
"
TERMUX_SUBPKG_DEPENDS="libandroid-support, python, python-pip"
TERMUX_SUBPKG_CONFLICTS="frida-tools (<< 15.1.24)"
TERMUX_SUBPKG_REPLACES="frida-tools (<< 15.1.24)"
termux_step_create_subpkg_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "pip${TERMUX_PYTHON_VERSION} install 'prompt-toolkit>=2.0.0,<4.0.0' 'colorama>=0.2.7,<1.0.0' 'pygments<=2.0.2,<3.0.0' 'websockets>=13.0.0,<14.0.0'" >> postinst
}