bash: Specify bash_cv_getcwd_malloc=yes
[termux-packages] / disabled-packages / mtr / build.sh
index 0d7aa52..df809a8 100644 (file)
@@ -1,16 +1,13 @@
-# Status: Needs hcreate()/hsearch()/hdestroy() in search.h,
-#         which is not included in the NDK.
-
+# Status: Needs a working resolv.h.
+#         Perhaps add libres?
+#         http://dan.drown.org/android/src/libres/
 TERMUX_PKG_HOMEPAGE=https://github.com/traviscross/mtr
 TERMUX_PKG_DESCRIPTION="Network diagnostic tool"
-_DATE=20160609
-# Note that the newdns branch is used.
-_COMMIT=66de3ecbab28b054b868a73fbb57f30549d770ac
-TERMUX_PKG_VERSION=0.86.${_DATE}
-TERMUX_PKG_SRCURL=https://github.com/traviscross/mtr/archive/${_COMMIT}.zip
-TERMUX_PKG_FOLDERNAME=mtr-$_COMMIT
+TERMUX_PKG_VERSION=0.87
+TERMUX_PKG_SRCURL=https://github.com/traviscross/mtr/archive/v${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_FOLDERNAME=mtr-$TERMUX_PKG_VERSION
 TERMUX_PKG_DEPENDS="ncurses"
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-gtk"
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-gtk --disable-ipv6"
 
 termux_step_pre_configure() {
        cd $TERMUX_PKG_SRCDIR