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
)-$(PKG_VERSION
).tgz
15 PKG_SOURCE_URL
:=http
://www.vanheusden.com
/httping
16 PKG_MD5SUM
:=e36bb30bd758c766d7260bdde6fe6450
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/httping
26 TITLE
:=Httping is like
'ping' but for http-requests
27 URL
:=http
://www.vanheusden.com
/httping
/
30 define Package
/httping
/description
31 Give it an url
, and it
'll show you how long it takes to connect, send a
32 request and retrieve the reply (only the headers). Be aware that the
33 transmission across the network also takes time!
37 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
39 define Package/httping/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/httping $(1)/usr/bin/
44 $(eval $(call BuildPackage,httping))