[packages] hping3: fix build failure on avr32 (closes: #7006)
[openwrt/svn-archive/archive.git] / net / hping3 / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=hping3
11 PKG_VERSION:=20051105
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://www.hping.org/
16 PKG_MD5SUM:=ca4ea4e34bcc2162aedf25df8b2d1747
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/hping3
21 SECTION:=net
22 CATEGORY:=Network
23 TITLE:=TCP/IP packet assembler/analyzer
24 URL:=http://www.hping.org/
25 DEPENDS:=+libpcap +libpthread
26 endef
27
28 define Package/hping3/description
29 hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is
30 inspired to the ping(8) unix command, but hping isn't only able to send ICMP echo
31 requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the
32 ability to send files between a covered channel, and many other features.
33 endef
34
35 define Build/Configure
36 endef
37
38 define Package/hping3/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hping3 $(1)/usr/sbin/hping3
41 endef
42
43 $(eval $(call BuildPackage,hping3))