From 160a33539f7deaabab5512b9a2a73ab1f9971026 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 13 Feb 2006 12:40:39 +0000 Subject: Added httping git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3230 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/httping/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/httping/Makefile (limited to 'package/httping/Makefile') diff --git a/package/httping/Makefile b/package/httping/Makefile new file mode 100644 index 0000000000..aaab6ab6c6 --- /dev/null +++ b/package/httping/Makefile @@ -0,0 +1,36 @@ +# $Id: Makefile 1146 2005-06-05 13:32:28Z florian $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=httping +PKG_VERSION:=1.0.10 +PKG_RELEASE:=1 +PKG_MD5SUM:=998b00b8babeb3196d28c20ad87d9c15 + +PKG_SOURCE_URL:=http://www.vanheusden.com/httping/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,HTTPING,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) + touch $@ + +$(IPKG_HTTPING): + mkdir -p $(IDIR_HTTPING)/usr/sbin + cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_HTTPING)/usr/sbin/ + $(STRIP) $(IDIR_HTTPING)/usr/sbin/* + $(IPKG_BUILD) $(IDIR_HTTPING) $(PACKAGE_DIR) + +mostlyclean: + $(MAKE) -C $(PKG_BUILD_DIR) clean + rm -f $(PKG_BUILD_DIR)/.built -- cgit v1.2.3