]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/bash to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Nov 2008 13:39:51 +0000 (13:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 2 Nov 2008 13:39:51 +0000 (13:39 +0000)
lfs/bash

index 13be1b45eb231dc99067a8db73b40c46198a5f8b..c043fb3de47f00aaf7d3c82d90f669a62e7d2eb4 100644 (file)
--- a/lfs/bash
+++ b/lfs/bash
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # 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        #
@@ -26,6 +26,7 @@ include Config
 
 PKG_NAME   = bash
 VER        = 3.2
+PKG_VER    = 0
 
 THISAPP    = $(PKG_NAME)-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -33,28 +34,50 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 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"