mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 16:06:16 +00:00
21 lines
599 B
Bash
21 lines
599 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
|
|
lib/python*
|
|
"
|
|
TERMUX_SUBPKG_DEPENDS="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'" >> postinst
|
|
}
|