mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
d5d337ddb8
%ci:no-build
19 lines
720 B
Bash
19 lines
720 B
Bash
TERMUX_PKG_HOMEPAGE=http://www.hping.org/
|
|
TERMUX_PKG_DESCRIPTION="hping is a command-line oriented TCP/IP packet assembler/analyzer."
|
|
# Same versioning as archlinux:
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=3.0.0
|
|
TERMUX_PKG_REVISION=3
|
|
#TERMUX_PKG_SRCURL=http://www.hping.org/hping3-20051105.tar.gz
|
|
TERMUX_PKG_SRCURL=https://fossies.org/linux/privat/old/hping3-20051105.tar.gz
|
|
TERMUX_PKG_SHA256=f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8
|
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libpcap, tcl"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_post_configure () {
|
|
LDFLAGS+=" -Wl,-z,muldefs"
|
|
export LDFLAGS+=" -landroid-shmem"
|
|
mkdir -p ${TERMUX_PREFIX}/share/man/man8
|
|
}
|