diff options
Diffstat (limited to 'testing/hping3/APKBUILD')
-rw-r--r-- | testing/hping3/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/testing/hping3/APKBUILD b/testing/hping3/APKBUILD index c58c0e4a01..c1eb402527 100644 --- a/testing/hping3/APKBUILD +++ b/testing/hping3/APKBUILD @@ -6,38 +6,34 @@ pkgrel=2 pkgdesc="A ping-like TCP/IP packet assembler/analyzer" url="http://www.hping.org" arch="all" -license="GPL" +license="GPL2" depends="" makedepends="libpcap-dev" -install= +install="" subpackages="$pkgname-doc" source="http://www.hping.org/$pkgname-$pkgver.tar.gz - hping3-bytesex.patch" + hping3-bytesex.patch" _builddir="$srcdir/$pkgname-$pkgver" - prepare() { cd "$_builddir" sed -i -e 's:net/bpf.h:pcap/bpf.h:' libpcap_stuff.c script.c || return 1 - patch -p0 < "$srcdir"/hping3-bytesex.patch } build() { cd "$_builddir" - - ./configure --prefix=/usr \ + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --no-tcl - + --no-tcl || return 1 make || return 1 } package() { cd "$_builddir" - install -m755 -D hping3 "$pkgdir"/usr/sbin/hping3 ln -s hping3 "$pkgdir"/usr/sbin/hping ln -s hping3 "$pkgdir"/usr/sbin/hping2 |