source: packages/net/iputils/Makefile @ 22277

Last change on this file since 22277 was 22277, checked in by acoul, 6 years ago

net/iputils: nuke ipv6 until we get a proper fix

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