termux-packages/root-packages/arp-scan/build.sh

23 lines
897 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://github.com/royhills/arp-scan
TERMUX_PKG_DESCRIPTION="arp-scan is a command-line tool for system discovery and fingerprinting. It constructs and sends ARP requests to the specified IP addresses, and displays any responses that are received."
2019-01-24 20:15:44 +01:00
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
2019-12-07 10:39:50 +01:00
TERMUX_PKG_VERSION=1.9.7
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/royhills/arp-scan/archive/${TERMUX_PKG_VERSION}.tar.gz
2019-12-07 10:39:50 +01:00
TERMUX_PKG_SHA256=e03c36e4933c655bd0e4a841272554a347cd0136faf42c4a6564059e0761c039
2018-12-15 08:29:57 +01:00
TERMUX_PKG_DEPENDS="libpcap"
if [[ ${TERMUX_ARCH_BITS} == 32 ]]; then
2019-12-07 10:39:50 +01:00
# Retrieved from compilation on device:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="pgac_cv_snprintf_long_long_int_format=%lld"
fi
termux_step_pre_configure () {
2018-12-15 08:29:57 +01:00
cp ${TERMUX_PKG_BUILDER_DIR}/hsearch/* ${TERMUX_PKG_SRCDIR}/
aclocal
2019-12-07 10:39:50 +01:00
autoheader
automake --add-missing
autoconf
}