###############################################################################
# #
# 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 = coreutils
VER = 6.12
+PKG_VER = 0
THISAPP = $(PKG_NAME)-$(VER)
DL_FILE = $(THISAPP).tar.gz
OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+MAINTAINER =
+GROUP = System/Base
+EXTRA = no
+DEBUG = no
+DEPS =
+
+URL = http://www.gnu.org/software/coreutils/
+LICENSE = GPLv3+
+SHORT_DESC = A set of basic GNU tools commonly used in shell scripts.
+
+define LONG_DESC
+ These are the GNU core utilities. This package is the combination of \
+ the old GNU fileutils, sh-utils, and textutils packages.
+endef
+
###############################################################################
# Top-level Rules
###############################################################################
-objects = $(DL_FILE) $(THISAPP)-uname_PIC-1.patch $(THISAPP)-i18n-1.patch \
+objects = $(DL_FILE) \
+ $(THISAPP)-uname_PIC-1.patch \
+ $(THISAPP)-i18n-1.patch \
$(THISAPP)-old_build_kernel-1.patch
-install : $(OBJECT)
+download: $(objects)
+
+install: $(OBJECT)
-download : $(objects)
+package:
+ @$(DO_PACKAGE)
-$(objects) :
+$(objects):
@$(LOAD)
###############################################################################
# Installation Details
###############################################################################
-$(OBJECT) :
+$(OBJECT): $(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 -i $(DIR_PATCHES)/$(THISAPP)-old_build_kernel-1.patch
ifeq "$(STAGE)" "toolchain"
cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-uname_PIC-1.patch
cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-i18n-1.patch
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-install-program=hostname \
- --enable-no-install-program=kill,uptime
+ cd $(DIR_APP) && \
+ ./configure \
+ --prefix=/usr \
+ --enable-install-program=hostname \
+ --enable-no-install-program=kill,uptime
cd $(DIR_APP) && make $(PARALLELISMFLAGS)
cd $(DIR_APP) && make install