###############################################################################
# #
# 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 = glibc
VER = 2.9
+PKG_VER = 0
THISAPP = $(PKG_NAME)-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DIR_APP = $(DIR_SRC)/$(THISAPP)
+OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER =
+GROUP = System/Base
+EXTRA = no
+DEBUG = no
+DEPS =
+
+URL = http://sources.redhat.com/glibc/
+LICENSE = GPLv2+ LGPLv2+
+SHORT_DESC = The GNU libc libraries.
+
+define LONG_DESC
+ The glibc package contains standard libraries which are used by \
+ multiple programs on the system. In order to save disk space and \
+ memory, as well as to make upgrading easier, common system code is \
+ kept in one place and shared between programs. This particular package \
+ contains the most important sets of shared libraries: the standard C \
+ library and the standard math library. Without these two libraries, a \
+ Linux system will not function.
+endef
+
CFLAGS = -O2 -pipe
CXXFLAGS =
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
###############################################################################
# Top-level Rules
###############################################################################
$(THISAPP)-undefine-__i686.patch \
$(THISAPP)-d_tlsdec.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) $(DIR_SRC)/glibc-build && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) $(DIR_SRC)/glibc-build && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
@mkdir $(DIR_SRC)/glibc-build
# Extracting libidn