[packages] tor-alpha: update to 0.2.2.22-alpha, add archive mirror
[openwrt/svn-archive/archive.git] / net / httping / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=httping
11 PKG_VERSION:=1.4.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://www.vanheusden.com/httping
16 PKG_MD5SUM:=e36bb30bd758c766d7260bdde6fe6450
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/httping
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libopenssl
26 TITLE:=Httping is like 'ping' but for http-requests
27 URL:=http://www.vanheusden.com/httping/
28 endef
29
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!
34 endef
35
36 MAKE_FLAGS += \
37 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
38
39 define Package/httping/install
40 $(INSTALL_DIR) $(1)/usr/bin
41 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/httping $(1)/usr/bin/
42 endef
43
44 $(eval $(call BuildPackage,httping))