From: Michael Tremer Date: Mon, 2 Feb 2009 21:23:56 +0000 (+0100) Subject: Converted lfs/grep to new lfs format. X-Git-Tag: v3.0-alpha1~44^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6228ba1d86d33d915db82988a5b5216c543fb29;p=ipfire-3.x.git Converted lfs/grep to new lfs format. --- diff --git a/lfs/grep b/lfs/grep index 775415632..c5fd34eaa 100644 --- a/lfs/grep +++ b/lfs/grep @@ -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 = grep VER = 2.5.3 +PKG_VER = 0 THISAPP = $(PKG_NAME)-$(VER) DL_FILE = $(THISAPP).tar.bz2 @@ -33,6 +34,23 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) + +MAINTAINER = +GROUP = Applications/Text +EXTRA = no +DEBUG = no +DEPS = + +URL = http://www.gnu.org/software/grep/ +LICENSE = GPLv3+ +SHORT_DESC = A pattern matching utilities. + +define LONG_DESC + The GNU versions of commonly used grep utilities. Grep searches through \ + textual input for lines which contain a match to a specified pattern and then \ + prints the matching lines. GNU's grep utilities include grep, egrep and fgrep. +endef + ############################################################################### # Top-level Rules ############################################################################### @@ -41,20 +59,26 @@ objects = $(DL_FILE) \ $(THISAPP)-upstream_fixes-1.patch \ $(THISAPP)-debian_fixes-1.patch -install : $(OBJECT) +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) ifeq "$(STAGE)" "toolchain" # --without-included-regex makes Grep use libc for regex. This gets rid of