From: Michael Tremer Date: Wed, 28 Jan 2009 21:25:46 +0000 (+0100) Subject: Converted lfs/glib to new LFS format. X-Git-Tag: v3.0-alpha1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b5363047476e866d1e31a0f9ae3fb0691e1f42;p=ipfire-3.x.git Converted lfs/glib to new LFS format. --- diff --git a/lfs/glib b/lfs/glib index 09643f0f2..c57cc58ec 100644 --- 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) \