2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://www.vanheusden.com
/httping
/
17 PKG_MD5SUM
:=cde335c0110fb1b156afdf80ff5ade1d
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/httping
28 TITLE
:=Httping is like
'ping' but for http-requests
29 URL
:=http
://www.vanheusden.com
/httping
/
32 define Package
/httping
/description
33 Give it an url
, and it
'll show you how long it takes to connect, send a
34 request and retrieve the reply (only the headers). Be aware that the
35 transmission across the network also takes time!
39 $(call Build/Compile/Default, \
40 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
44 define Package/httping/install
45 $(INSTALL_DIR) $(1)/usr/sbin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/httping $(1)/usr/sbin/
49 $(eval $(call BuildPackage,httping))