###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007, 2008 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 = bash
VER = 3.2
+PKG_VER = 0
THISAPP = $(PKG_NAME)-$(VER)
DL_FILE = $(THISAPP).tar.gz
TARGET = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+MAINTAINER =
+GROUP = System/Tools
+EXTRA = no
+DEBUG = no
+DEPS =
+
+URL = http://www.gnu.org/software/bash/
+LICENSE = GPLv2+
+SHORT_DESC = Bash is short for born again shell.
+
+define LONG_DESC
+ Bash is the shell, or command language interpreter, that will appear in \
+ the GNU operating system. Bash is an sh-compatible shell that incorporates \
+ useful features from the Korn shell (ksh) and C shell (csh). It is intended \
+ to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
+endef
+
###############################################################################
# Top-level Rules
###############################################################################
-objects = $(DL_FILE) $(THISAPP)-fixes-8.patch $(PKG_NAME)-doc-$(VER).tar.gz \
+objects = $(DL_FILE) \
+ $(THISAPP)-fixes-8.patch \
+ $(PKG_NAME)-doc-$(VER).tar.gz \
$(THISAPP)-arc4random-1.patch
-install : $(TARGET)
+download: $(objects)
-download : $(objects)
+install: $(TARGET)
-$(objects) :
+package:
+ @$(DO_PACKAGE)
+
+$(objects):
@$(LOAD)
###############################################################################
# Installation Details
###############################################################################
-$(TARGET) :
+$(TARGET): $(objects)
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
+
cd $(DIR_APP) && patch -Np1 < $(DIR_PATCHES)/$(THISAPP)-fixes-8.patch
ifeq "$(STAGE)" "toolchain"