| 1 | # Status: Needs hcreate()/hsearch()/hdestroy() in search.h, |
| 2 | # which is not included in the NDK. |
| 3 | |
| 4 | TERMUX_PKG_HOMEPAGE=https://github.com/traviscross/mtr |
| 5 | TERMUX_PKG_DESCRIPTION="Network diagnostic tool" |
| 6 | _DATE=20160609 |
| 7 | # Note that the newdns branch is used. |
| 8 | _COMMIT=66de3ecbab28b054b868a73fbb57f30549d770ac |
| 9 | TERMUX_PKG_VERSION=0.86.${_DATE} |
| 10 | TERMUX_PKG_SRCURL=https://github.com/traviscross/mtr/archive/${_COMMIT}.zip |
| 11 | TERMUX_PKG_FOLDERNAME=mtr-$_COMMIT |
| 12 | TERMUX_PKG_DEPENDS="ncurses" |
| 13 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-gtk" |
| 14 | |
| 15 | termux_step_pre_configure() { |
| 16 | cd $TERMUX_PKG_SRCDIR |
| 17 | ./bootstrap.sh |
| 18 | } |