]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/gettext to new LFS layout.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:19:48 +0000 (22:19 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Jan 2009 21:19:48 +0000 (22:19 +0100)
lfs/gettext

index 17a92e1e6dfa81aff53bf705659c39667587aa5f..5bddbfdacd9acbee407301abf398f4c3023a8c0a 100644 (file)
@@ -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,6 +26,7 @@ include Config
 
 PKG_NAME   = gettext
 VER        = 0.17
+PKG_VER    = 0
 
 THISAPP    = $(PKG_NAME)-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -33,6 +34,29 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
 OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
+MAINTAINER =
+GROUP      = System/Base
+EXTRA      = no
+DEBUG      = no
+DEPS       = bison
+
+URL        = http://www.gnu.org/software/gettext/
+LICENSE    = GPLv3 LGPL2+
+SHORT_DESC = GNU libraries and utilities for producing multi-lingual messages.
+
+define LONG_DESC
+       The GNU gettext package provides a set of tools and documentation for \
+       producing multi-lingual messages in programs. Tools include a set of \
+       conventions about how programs should be written to support message \
+       catalogs, a directory and file naming organization for the message \
+       catalogs, a runtime library which supports the retrieval of translated \
+       messages, and stand-alone programs for handling the translatable and \
+       the already translated strings. Gettext provides an easy to use \
+       library and tools for creating, using, and modifying natural language \
+       catalogs and is a powerful and simple method for internationalizing \
+       programs.
+endef
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -40,20 +64,26 @@ OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 objects = $(DL_FILE) \
        $(THISAPP)-open-args.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) && 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 -Np0 -i $(DIR_PATCHES)/$(THISAPP)-open-args.patch