]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/glibc to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jan 2009 22:29:21 +0000 (23:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jan 2009 22:29:21 +0000 (23:29 +0100)
lfs/glibc

index e4630887ded9ef173bf00eb4baa6871a6020bed3..d17a126445229a5aa2c3fb8cf0ceaa5969caf020 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # 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        #
@@ -26,16 +26,37 @@ include Config
 
 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
 ###############################################################################
@@ -54,20 +75,26 @@ objects = $(DL_FILE) \
        $(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