###############################################################################
# #
# 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 #
PKG_NAME = grep
VER = 2.5.3
+PKG_VER = 0
THISAPP = $(PKG_NAME)-$(VER)
DL_FILE = $(THISAPP).tar.bz2
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
###############################################################################
$(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