termux-packages/root-packages/mtr/build.sh

18 lines
644 B
Bash
Raw Normal View History

2017-11-04 01:07:18 +01:00
TERMUX_PKG_HOMEPAGE=https://github.com/traviscross/mtr
TERMUX_PKG_DESCRIPTION="Network diagnostic tool"
2019-01-24 20:15:44 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
2021-09-10 21:34:34 +02:00
_COMMIT=ec42ba61f77654e8397e6496095634585f90b26d
TERMUX_PKG_VERSION=0.94.git.${_COMMIT:0:8}
TERMUX_PKG_SRCURL=https://github.com/traviscross/mtr/archive/${_COMMIT}.tar.gz
TERMUX_PKG_SHA256=69fe865168784275ba20b2230969907dd4df165b13234edfe1c91004b86197c3
2017-11-04 01:07:18 +01:00
TERMUX_PKG_DEPENDS="ncurses"
2018-08-09 07:24:32 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--without-gtk"
2017-11-04 01:07:18 +01:00
termux_step_pre_configure() {
cp ${TERMUX_PKG_BUILDER_DIR}/hsearch/* ${TERMUX_PKG_SRCDIR}/portability
2017-11-04 01:07:18 +01:00
cd ${TERMUX_PKG_SRCDIR}
2017-11-04 01:07:18 +01:00
./bootstrap.sh
}