Added httping
[openwrt.git] / package / httping / Makefile
1 # $Id: Makefile 1146 2005-06-05 13:32:28Z florian $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=httping
6 PKG_VERSION:=1.0.10
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=998b00b8babeb3196d28c20ad87d9c15
9
10 PKG_SOURCE_URL:=http://www.vanheusden.com/httping/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,HTTPING,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built:
24 $(MAKE) -C $(PKG_BUILD_DIR) \
25 CC=$(TARGET_CC)
26 touch $@
27
28 $(IPKG_HTTPING):
29 mkdir -p $(IDIR_HTTPING)/usr/sbin
30 cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_HTTPING)/usr/sbin/
31 $(STRIP) $(IDIR_HTTPING)/usr/sbin/*
32 $(IPKG_BUILD) $(IDIR_HTTPING) $(PACKAGE_DIR)
33
34 mostlyclean:
35 $(MAKE) -C $(PKG_BUILD_DIR) clean
36 rm -f $(PKG_BUILD_DIR)/.built
This page took 0.050956 seconds and 5 git commands to generate.