]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
Converted lfs/glib to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:25:46 +0000 (22:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:25:46 +0000 (22:25 +0100)
lfs/glib

index 09643f0f251115b9cd11db53a4e3d8f910ca7263..c57cc58ec80747d365efd230c92488f4794e2ec2 100644 (file)
--- a/lfs/glib
+++ b/lfs/glib
@@ -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,14 +26,31 @@ include Config
 
 PKG_NAME   = glib
 VER        = 2.18.3
+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/Libaries
+EXTRA      = no
+DEBUG      = no
 DEPS       = pkg-config
 
-OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+URL        = http://www.gtk.org
+LICENSE    = LGPLv2+
+SHORT_DESC = A library of handy utility functions.
+
+define LONG_DESC
+       GLib is the low-level core library that forms the basis \
+       for projects such as GTK+ and GNOME. It provides data structure \
+       handling for C, portability wrappers, and interfaces for such runtime \
+       functionality as an event loop, threads, dynamic loading, and an \
+       object system.
+endef
 
 ###############################################################################
 # Top-level Rules
@@ -41,23 +58,26 @@ OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
 objects = $(DL_FILE)
 
+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) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \