milis/talimatname/genel/hping/talimat

22 lines
418 B
Plaintext
Raw Normal View History

2016-07-30 20:33:16 +02:00
# Description: Ping for TCP/IP
# URL: https://github.com/antirez/hping
# Packager: milisarge
# Depends on: libpcap
name=hping
version=git
release=1
source=(tshzset.patch Makefile.patch)
build() {
git clone https://github.com/antirez/hping
cd $name
patch -Np1 -i $SRC/tshzset.patch
MANPATH=/usr/share/man
./configure --prefix=/usr --no-tcl
make
patch -p1 < $SRC/Makefile.patch
make DESTDIR=$PKG install
}