0d4d8c533200394ad74ab9304ac3ba535aed5c75
[openwrt/svn-archive/archive.git] / net / iputils / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 9050 2007-09-28 01:23:17Z nbd $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=iputils
12 PKG_VERSION:=20071127
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-s$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://www.skbuff.net/iputils
17 PKG_MD5SUM:=12245e9927d60ff5cf4a99d265bcb7d3
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-s$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23
24
25 define Package/iputils-arping
26 SECTION:=net
27 CATEGORY:=Network
28 TITLE:=iputils - arping
29 URL:=http://www.skbuff.net/iputils
30 endef
31
32 define Package/iputils-arping/description
33 Program arping from iputils.
34 Sends ARP REQUEST to a neighbour host.
35 endef
36
37 define Package/iputils-clockdiff
38 SECTION:=net
39 CATEGORY:=Network
40 TITLE:=iputils - clockdiff
41 URL:=http://www.skbuff.net/iputils
42 endef
43
44 define Package/iputils-clockdiff/description
45 Program clockdiff from iputils.
46 Measures clock difference between hosts.
47 endef
48
49 define Package/iputils-ping
50 SECTION:=net
51 CATEGORY:=Network
52 TITLE:=iputils - ping
53 URL:=http://www.skbuff.net/iputils
54 endef
55
56 define Package/iputils-ping/description
57 Program ping from iputils.
58 Sends ICMP ECHO_REQUEST to network hosts (IPv4).
59 endef
60
61 define Package/iputils-ping6
62 SECTION:=net
63 CATEGORY:=Network
64 TITLE:=iputils - ping6
65 URL:=http://www.skbuff.net/iputils
66 endef
67
68 define Package/iputils-ping6/description
69 Program ping6 from iputils.
70 Sends ICMP ECHO_REQUEST to network hosts (IPv6).
71 endef
72
73 define Package/iputils-tftpd
74 SECTION:=net
75 CATEGORY:=Network
76 TITLE:=iputils - tftpd
77 URL:=http://www.skbuff.net/iputils
78 endef
79
80 define Package/iputils-tftpd/description
81 Program tftpd from iputils
82 Trivial File Transfer Protocol server.
83 endef
84
85 define Package/iputils-tracepath
86 SECTION:=net
87 CATEGORY:=Network
88 TITLE:=iputils - tracepath
89 URL:=http://www.skbuff.net/iputils
90 endef
91
92 define Package/iputils-tracepath/description
93 Program tracepath from iputils.
94 Traces path to a network host discovering MTU along this path (IPv4).
95 endef
96
97 define Package/iputils-tracepath6
98 SECTION:=net
99 CATEGORY:=Network
100 TITLE:=iputils - tracepath6
101 URL:=http://www.skbuff.net/iputils
102 endef
103
104 define Package/iputils-tracepath6/description
105 Program tracepath6 from iputils.
106 Traces path to a network host discovering MTU along this path (IPv6).
107 endef
108
109 define Package/iputils-traceroute6
110 SECTION:=net
111 CATEGORY:=Network
112 TITLE:=iputils - traceroute6
113 URL:=http://www.skbuff.net/iputils
114 endef
115
116 define Package/iputils-traceroute6/description
117 Program traceroute6 from iputils.
118 Traces path to a network host (IPv6).
119 endef
120
121
122
123 define Package/iputils-arping/install
124 $(INSTALL_DIR) $(1)/usr/bin
125 $(STRIP) $(PKG_BUILD_DIR)/arping
126 $(INSTALL_BIN) $(PKG_BUILD_DIR)/arping $(1)/usr/bin/
127 endef
128
129 define Package/iputils-clockdiff/install
130 $(INSTALL_DIR) $(1)/usr/bin
131 $(STRIP) $(PKG_BUILD_DIR)/clockdiff
132 $(INSTALL_BIN) $(PKG_BUILD_DIR)/clockdiff $(1)/usr/bin/
133 endef
134
135 define Package/iputils-ping/install
136 $(INSTALL_DIR) $(1)/usr/bin
137 $(STRIP) $(PKG_BUILD_DIR)/ping
138 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ping $(1)/usr/bin/
139 endef
140
141 define Package/iputils-ping6/install
142 $(INSTALL_DIR) $(1)/usr/bin
143 $(STRIP) $(PKG_BUILD_DIR)/ping6
144 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ping6 $(1)/usr/bin/
145 endef
146
147 define Package/iputils-tftpd/install
148 $(INSTALL_DIR) $(1)/usr/sbin
149 $(STRIP) $(PKG_BUILD_DIR)/tftpd
150 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tftpd $(1)/usr/sbin/
151 endef
152
153 define Package/iputils-tracepath/install
154 $(INSTALL_DIR) $(1)/usr/bin
155 $(STRIP) $(PKG_BUILD_DIR)/tracepath
156 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tracepath $(1)/usr/bin/
157 endef
158
159 define Package/iputils-tracepath6/install
160 $(INSTALL_DIR) $(1)/usr/bin
161 $(STRIP) $(PKG_BUILD_DIR)/tracepath6
162 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tracepath6 $(1)/usr/bin/
163 endef
164
165 define Package/iputils-traceroute6/install
166 $(INSTALL_DIR) $(1)/usr/bin
167 $(STRIP) $(PKG_BUILD_DIR)/traceroute6
168 $(INSTALL_BIN) $(PKG_BUILD_DIR)/traceroute6 $(1)/usr/bin/
169 endef
170
171 $(eval $(call BuildPackage,iputils-arping))
172 $(eval $(call BuildPackage,iputils-clockdiff))
173 $(eval $(call BuildPackage,iputils-ping))
174 $(eval $(call BuildPackage,iputils-ping6))
175 $(eval $(call BuildPackage,iputils-tftpd))
176 $(eval $(call BuildPackage,iputils-tracepath))
177 $(eval $(call BuildPackage,iputils-tracepath6))
178 $(eval $(call BuildPackage,iputils-traceroute6))