1 # $Id: PKGBUILD 32612 2010-11-15 22:11:14Z lfleischer $
2 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
3 # Contributor: Kevin Piche <kevin@archlinux.org>
8 pkgdesc='hping is a command-line oriented TCP/IP packet assembler/analyzer. (built with tcl scripting enabled)'
10 url='http://www.hping.org'
11 license=('GPL2' 'BSD')
12 depends=('libpcap' 'tcl')
14 source=("http://www.hping.org/hping3-20051105.tar.gz"
17 md5sums=('ca4ea4e34bcc2162aedf25df8b2d1747'
18 '3c6f920201fc980d377408917a28df93'
19 '8af8e336819df1447b0c1b879a704be9')
22 cd "${srcdir}/hping3-20051105"
24 [ "$CARCH" == "x86_64" ] && patch -Np1 -i ../bytesex.h.patch
26 MANPATH=/usr/share/man ./configure
31 cd "${srcdir}/hping3-20051105"
33 patch -p1 < ../Makefile.patch
35 make DESTDIR="${pkgdir}" install
36 install -Dm0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"