From: Michael Tremer Date: Tue, 24 Feb 2009 07:03:10 +0000 (+0000) Subject: Converted lfs/iputils to new LFS format. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90766eafd8d05b8908aaa230f20329d38923ce33;p=ipfire-3.x.git Converted lfs/iputils to new LFS format. --- diff --git a/lfs/iputils b/lfs/iputils index bd7655480..c9677bfeb 100644 --- a/lfs/iputils +++ b/lfs/iputils @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,6 +26,7 @@ include Config PKG_NAME = iputils PKG_VER = s20071127 +PKG_REL = 0 THISAPP = $(PKG_NAME)-$(PKG_VER) DL_FILE = $(THISAPP).tar.bz2 @@ -33,6 +34,23 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +MAINTAINER = +GROUP = Networking/Tools +EXTRA = no +DEBUG = no +DEPS = + +URL = http://www.skbuff.net/iputils +LICENSE = BSD +SHORT_DESC = Network monitoring tools including ping. + +define LONG_DESC + The iputils package contains basic utilities for monitoring a network, \ + including ping. The ping command sends a series of ICMP protocol \ + ECHO_REQUEST packets to a specified network host to discover whether \ + the target machine is alive and receiving network traffic. +endef + ############################################################################### # Top-level Rules ############################################################################### @@ -53,20 +71,28 @@ objects = $(DL_FILE) \ $(THISAPP)-warnings.patch \ iputils-ifenslave-20090202.patch -install : $(OBJECT) +objects = $(DL_FILE) + +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) -download : $(objects) +package: + @$(DO_PACKAGE) -$(objects) : +$(objects): @$(LOAD) ############################################################################### # Installation Details ############################################################################### -$(OBJECT) : +$(OBJECT): $(objects) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/ifenslave-20090202.tar.gz