2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-s
$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://www.skbuff.net
/iputils
16 PKG_MD5SUM
:=a36c25e9ec17e48be514dc0485e7376c
18 PKG_BUILD_DEPENDS
:=sysfsutils
19 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-s
$(PKG_VERSION
)
21 include $(INCLUDE_DIR
)/package.mk
24 define Package
/iputils
/Default
27 URL
:=http
://www.skbuff.net
/iputils
32 define Package
/iputils-arping
33 $(call Package
/iputils
/Default
)
34 TITLE
:=iputils
- arping
38 define Package
/iputils-arping
/description
39 Program arping from iputils.
40 Sends ARP REQUEST to a neighbour host.
44 define Package
/iputils-clockdiff
45 $(call Package
/iputils
/Default
)
46 TITLE
:=iputils
- clockdiff
49 define Package
/iputils-clockdiff
/description
50 Program clockdiff from iputils.
51 Measures clock difference between hosts.
55 define Package
/iputils-ping
56 $(call Package
/iputils
/Default
)
60 define Package
/iputils-ping
/description
61 Program ping from iputils.
62 Sends ICMP ECHO_REQUEST to network hosts
(IPv4
).
66 define Package
/iputils-ping6
67 $(call Package
/iputils
/Default
)
68 TITLE
:=iputils
- ping6
72 define Package
/iputils-ping6
/description
73 Program ping6 from iputils.
74 Sends ICMP ECHO_REQUEST to network hosts
(IPv6
).
78 define Package
/iputils-tftpd
79 $(call Package
/iputils
/Default
)
80 TITLE
:=iputils
- tftpd
83 define Package
/iputils-tftpd
/description
84 Program tftpd from iputils
85 Trivial File Transfer Protocol server.
89 define Package
/iputils-tracepath
90 $(call Package
/iputils
/Default
)
91 TITLE
:=iputils
- tracepath
94 define Package
/iputils-tracepath
/description
95 Program tracepath from iputils.
96 Traces path to a network host discovering MTU along this path
(IPv4
).
100 define Package
/iputils-tracepath6
101 $(call Package
/iputils
/Default
)
102 TITLE
:=iputils
- tracepath6
106 define Package
/iputils-tracepath6
/description
107 Program tracepath6 from iputils.
108 Traces path to a network host discovering MTU along this path
(IPv6
).
112 define Package
/iputils-traceroute6
113 $(call Package
/iputils
/Default
)
114 TITLE
:=iputils
- traceroute6
118 define Package
/iputils-traceroute6
/description
119 Program traceroute6 from iputils.
120 Traces path to a network host
(IPv6
).
123 ifeq ($(BOARD
),brcm47xx
)
128 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \
129 CONFIG_IPV6
="$(CONFIG_IPV6)" \
130 CONFIG_USE_UCLIBC
="$(CONFIG_USE_UCLIBC)" \
132 define Package
/iputils-arping
/install
133 $(INSTALL_DIR
) $(1)/usr
/bin
134 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/arping
$(1)/usr
/bin
/
137 define Package
/iputils-clockdiff
/install
138 $(INSTALL_DIR
) $(1)/usr
/bin
139 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/clockdiff
$(1)/usr
/bin
/
142 define Package
/iputils-ping
/install
143 $(INSTALL_DIR
) $(1)/usr
/bin
144 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ping
$(1)/usr
/bin
/
147 define Package
/iputils-ping6
/install
148 $(INSTALL_DIR
) $(1)/usr
/bin
149 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ping6
$(1)/usr
/bin
/
152 define Package
/iputils-tftpd
/install
153 $(INSTALL_DIR
) $(1)/usr
/sbin
154 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tftpd
$(1)/usr
/sbin
/
157 define Package
/iputils-tracepath
/install
158 $(INSTALL_DIR
) $(1)/usr
/bin
159 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tracepath
$(1)/usr
/bin
/
162 define Package
/iputils-tracepath6
/install
163 $(INSTALL_DIR
) $(1)/usr
/bin
164 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/tracepath6
$(1)/usr
/bin
/
167 define Package
/iputils-traceroute6
/install
168 $(INSTALL_DIR
) $(1)/usr
/bin
169 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/traceroute6
$(1)/usr
/bin
/
172 $(eval
$(call BuildPackage
,iputils-arping
))
173 $(eval
$(call BuildPackage
,iputils-clockdiff
))
174 $(eval
$(call BuildPackage
,iputils-ping
))
175 $(eval
$(call BuildPackage
,iputils-tftpd
))
176 $(eval
$(call BuildPackage
,iputils-tracepath
))
177 $(eval
$(call BuildPackage
,iputils-ping6
))
178 $(eval
$(call BuildPackage
,iputils-tracepath6
))
179 $(eval
$(call BuildPackage
,iputils-traceroute6
))