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

16 lines
606 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=http://www.hping.org/
2018-02-22 14:33:44 +01:00
TERMUX_PKG_DESCRIPTION="hping is a command-line oriented TCP/IP packet assembler/analyzer."
# Same versioning as archlinux:
2019-01-24 20:15:44 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
2018-02-22 14:33:44 +01:00
TERMUX_PKG_VERSION=3.0.0
TERMUX_PKG_SRCURL=http://www.hping.org/hping3-20051105.tar.gz
TERMUX_PKG_SHA256=f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8
TERMUX_PKG_DEPENDS="libandroid-shmem, libpcap, tcl"
TERMUX_PKG_BUILD_DEPENDS="libpcap-dev, tcl-dev"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_post_configure () {
export LDFLAGS+=" -landroid-shmem"
mkdir -p ${TERMUX_PREFIX}/share/man/man8
2018-02-23 06:13:31 +01:00
}