You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/iputils/iputils
|
|
|
|
TERMUX_PKG_DESCRIPTION="Tool to trace the network path to a remote host"
|
|
|
|
TERMUX_PKG_VERSION=20160308
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/iputils/iputils/archive/s${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_FOLDERNAME=iputils-s$TERMUX_PKG_VERSION
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
TERMUX_PKG_DEPENDS="libidn"
|
|
|
|
|
|
|
|
termux_step_make () {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install () {
|
|
|
|
$CC $CFLAGS $LDFLAGS -lidn -o $TERMUX_PREFIX/bin/tracepath tracepath.c
|
|
|
|
$CC $CFLAGS $LDFLAGS -lidn -o $TERMUX_PREFIX/bin/tracepath6 tracepath6.c
|
|
|
|
local MANDIR=$TERMUX_PREFIX/share/man/man8
|
|
|
|
mkdir -p $MANDIR
|
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/tracepath.8 $MANDIR/
|
|
|
|
(cd $MANDIR && ln -f -s tracepath.8 tracepath6.8)
|
|
|
|
}
|