2 # Copyright (C) 2006-2009 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
)-$(PKG_VERSION
).tgz
15 PKG_SOURCE_URL
:=http
://www.vanheusden.com
/httping
/
16 PKG_MD5SUM
:=2fa68b95d190a9e101232792df49e1ad
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/httping
24 TITLE
:=Httping is like
'ping' but for http-requests
25 URL
:=http
://www.vanheusden.com
/httping
/
28 define Package
/httping
/description
29 Give it an url
, and it
'll show you how long it takes to connect, send a
30 request and retrieve the reply (only the headers). Be aware that the
31 transmission across the network also takes time!
35 $(call Build/Compile/Default, \
36 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
40 define Package/httping/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/httping $(1)/usr/sbin/
45 $(eval $(call BuildPackage,httping))