1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 PKG_MD5SUM:=998b00b8babeb3196d28c20ad87d9c15
15 PKG_SOURCE_URL:=http://www.vanheusden.com/httping/
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
23 define Package/httping
27 TITLE:=Httping is like 'ping' but for http-requests
28 DESCRIPTION:=Httping is like 'ping' but for http-requests.\\\
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!\\\
32 URL:=http://www.vanheusden.com/httping/
36 $(MAKE) -C $(PKG_BUILD_DIR) -f $(PKG_BUILD_DIR)/Makefile$(SSL_ENABLE) \
37 CC=$(TARGET_CC) STAGING_DIR=$(STAGING_DIR)
40 define Package/httping/install
41 mkdir -p $(1)/usr/sbin
42 $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
45 $(eval $(call BuildPackage,httping))