annotate src/gettext.mk @ 4441:6f2f30424751

gettext: update to v0.19.8.1 * src/gettext.mk: update version, checksum, use intl version * src/build-gettext.mk: update version, checksum, dont install docs
author John D
date Thu, 03 Aug 2017 10:33:07 -0400
parents d5a5b8e659de
children 58edf66dc40c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1080
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 323
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 304
diff changeset
4 PKG := gettext
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
4441
6f2f30424751 gettext: update to v0.19.8.1
John D
parents: 4384
diff changeset
6 $(PKG)_VERSION := 0.19.8.1
6f2f30424751 gettext: update to v0.19.8.1
John D
parents: 4384
diff changeset
7 $(PKG)_CHECKSUM := b5d24ba2958c91fc5cc0058165837c99a0f58784
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 304
diff changeset
8 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 304
diff changeset
9 $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 304
diff changeset
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS := libiconv
129
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
4384
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 4302
diff changeset
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/gettext/' | \
231
fce7481d2b13 improved version update mechanism (make update) of package gettext
Volker Grabsch <vog@notjusthosting.com>
parents: 188
diff changeset
15 grep 'gettext-' | \
129
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \
4384
d5a5b8e659de update PKG_UPDATE rules
John D
parents: 4302
diff changeset
17 $(SORT) -Vr | \
231
fce7481d2b13 improved version update mechanism (make update) of package gettext
Volker Grabsch <vog@notjusthosting.com>
parents: 188
diff changeset
18 head -1
129
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
247
891180a1d143 build the gettext-tools in addition to the gettext-runtime
Volker Grabsch <vog@notjusthosting.com>
parents: 231
diff changeset
22 cd '$(1)/gettext-runtime' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
25 --prefix='$(HOST_PREFIX)' \
247
891180a1d143 build the gettext-tools in addition to the gettext-runtime
Volker Grabsch <vog@notjusthosting.com>
parents: 231
diff changeset
26 --enable-threads=win32 \
248
14320123cf11 fixed dependecies of gettext
Volker Grabsch <vog@notjusthosting.com>
parents: 247
diff changeset
27 --without-libexpat-prefix \
1080
5602f49af84e bugfix: use consistently "CONFIG_SHELL=$(SHELL)" to fix packages that contain bashisms
Volker Grabsch <vog@notjusthosting.com>
parents: 1065
diff changeset
28 --without-libxml2-prefix \
3061
f8299bb6c872 Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3048
diff changeset
29 CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK)
4441
6f2f30424751 gettext: update to v0.19.8.1
John D
parents: 4384
diff changeset
30 $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)'
6f2f30424751 gettext: update to v0.19.8.1
John D
parents: 4384
diff changeset
31 $(MAKE) -C '$(1)/gettext-runtime/intl' -j 1 $(MXE_DISABLE_DOCS) install DESTDIR='$(3)'
3285
67bcfe6539c7 [MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3263
diff changeset
32
3620
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
33 cd '$(1)/gettext-tools' && ./configure \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
34 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
35 $(ENABLE_SHARED_OR_STATIC) \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
36 --prefix='$(HOST_PREFIX)' \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
37 --enable-threads=win32 \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
38 --without-libexpat-prefix \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
39 --without-libxml2-prefix \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
40 $(if $(filter msvc,$(MXE_SYSTEM)),ac_cv_func_memset=yes) \
5416bfbf1e48 gettext: build gettext-tools
John Donoghue <john.donoghue@ieee.org>
parents: 3616
diff changeset
41 CONFIG_SHELL=$(SHELL) && $(CONFIGURE_POST_HOOK)
4441
6f2f30424751 gettext: update to v0.19.8.1
John D
parents: 4384
diff changeset
42 $(MAKE) -C '$(1)/gettext-tools/intl' -j '$(JOBS)'
6f2f30424751 gettext: update to v0.19.8.1
John D
parents: 4384
diff changeset
43 $(MAKE) -C '$(1)/gettext-tools/intl' -j 1 install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) bin_PROGRAMS=
4302
3d168da55e47 disable instakll of docs
John D
parents: 4017
diff changeset
44 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
3d168da55e47 disable instakll of docs
John D
parents: 4017
diff changeset
45 rm -rf $(3)$(HOST_PREFIX)/share/doc/$(PKG); \
3d168da55e47 disable instakll of docs
John D
parents: 4017
diff changeset
46 fi
129
9fb896207491 translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 endef