frida-python, frida-tools: install python dependencies in postinst

This commit is contained in:
Henrik Grimler 2020-02-23 21:35:29 +01:00 committed by Yaksh Bariya
parent 707990cdfa
commit 459084decd
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
TERMUX_SUBPKG_DESCRIPTION="Python bindings for Frida"
TERMUX_SUBPKG_INCLUDE="lib/python*"
termux_step_create_subpkg_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "pip3.8 install wcwidth colorama pygments" >> postinst
}

View File

@ -8,3 +8,8 @@ bin/frida-ls-devices
bin/frida-ps
bin/frida-trace
"
termux_step_create_subpkg_debscripts() {
echo "#!$TERMUX_PREFIX/bin/sh" > postinst
echo "pip3.8 prompt_toolkit colorama pygments" >> postinst
}