1 TERMUX_PKG_HOMEPAGE
=https
://github.com
/iputils
/iputils
2 TERMUX_PKG_DESCRIPTION
="Tool to trace the network path to a remote host"
3 TERMUX_PKG_VERSION
=20161105
4 TERMUX_PKG_SRCURL
=https
://github.com
/iputils
/iputils
/archive
/s
${TERMUX_PKG_VERSION}.
tar.gz
5 TERMUX_PKG_SHA256
=f813092f03d17294fd23544b129b95cdb87fe19f7970a51908a6b88509acad8a
6 TERMUX_PKG_FOLDERNAME
=iputils-s
$TERMUX_PKG_VERSION
7 TERMUX_PKG_BUILD_IN_SRC
=yes
8 TERMUX_PKG_DEPENDS
="libidn"
14 termux_step_make_install
() {
15 $CC $CFLAGS $LDFLAGS -lidn
-o
$TERMUX_PREFIX/bin
/tracepath tracepath.c
16 local MANDIR
=$TERMUX_PREFIX/share
/man
/man8
18 cp $TERMUX_PKG_BUILDER_DIR/tracepath
.8 $MANDIR/
19 # Setup traceroute as an alias for tracepath, since traceroute
20 # requires root which most Termux user does not have, and tracepath
21 # is probably good enough for most:
22 (cd $TERMUX_PREFIX/bin
&& ln -f
-s tracepath
traceroute)
23 (cd $MANDIR && ln -f
-s tracepath
.8 traceroute.8)