nethogs: Fix build

%ci:no-build
This commit is contained in:
Tee KOBAYASHI 2023-04-14 03:03:26 +09:00
parent 1716c52ef1
commit 07439dea17
1 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,11 @@ TERMUX_PKG_DEPENDS="libc++, ncurses, libpcap"
TERMUX_PKG_EXTRA_MAKE_ARGS="nethogs"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_get_source() {
mv pyproject.toml{,.unused}
mv setup.py{,.unused}
}
termux_step_pre_configure() {
CPPFLAGS+=" -Dindex=strchr -Drindex=strrchr -Dquad_t=int64_t"
}