]> git.ipfire.org Git - ipfire-3.x.git/blob - pkgs/core/gettext/gettext.nm
naoki: Initial checkin.
[ipfire-3.x.git] / pkgs / core / gettext / gettext.nm
1 ###############################################################################
2 # #
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5 # #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
10 # #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
15 # #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
18 # #
19 ###############################################################################
20
21 ###############################################################################
22 # Definitions
23 ###############################################################################
24
25 include ../../Config
26
27 PKG_NAME = gettext
28 PKG_VER = 0.17
29 PKG_REL = 0
30
31 PKG_MAINTAINER =
32 PKG_GROUP = System/Base
33 PKG_URL = http://www.gnu.org/software/gettext/
34 PKG_LICENSE = GPLv3 LGPL2+
35 PKG_SUMMARY = GNU libraries and utilities for producing multi-lingual messages.
36
37 define PKG_DESCRIPTION
38 The GNU gettext package provides a set of tools and documentation for \
39 producing multi-lingual messages in programs. Tools include a set of \
40 conventions about how programs should be written to support message \
41 catalogs, a directory and file naming organization for the message \
42 catalogs, a runtime library which supports the retrieval of translated \
43 messages, and stand-alone programs for handling the translatable and \
44 the already translated strings. Gettext provides an easy to use \
45 library and tools for creating, using, and modifying natural language \
46 catalogs and is a powerful and simple method for internationalizing \
47 programs.
48 endef
49
50 PKG_TARBALL = $(THISAPP).tar.gz
51
52 PKG_PATCHES += $(THISAPP)-open-args-1.patch
53 PKG_PATCHES += $(THISAPP)-rpathFix.patch
54 PKG_PATCHES += $(THISAPP)-automake-1.patch
55
56 include ../../Rules
57
58 ###############################################################################
59 # Installation Details
60 ###############################################################################
61
62 $(STAGE_BUILD): $(STAGE_PREPARE)
63 @$(PRE_BUILD)
64
65 cd $(DIR_APP) && \
66 ./configure \
67 $(CONFIGURE_ARCH) \
68 --prefix=/usr \
69 --disable-static
70
71 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
72
73 @$(POST_BUILD)
74
75 $(STAGE_INSTALL): $(STAGE_BUILD)
76 @$(PRE_INSTALL)
77
78 cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
79
80 rm -vf $(BUILDROOT)/usr/lib/lib{asprintf,gettext{lib,po,src}}.la
81
82 @$(POST_INSTALL)