Mercurial > mxe-octave
annotate src/gettext.mk @ 2988:aca8511e7751
qt.mk: link to correct files in bin directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:57 -0400 |
parents | 47558e958113 |
children | 100e618349f7 |
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 := |
1065
7da042a72e83
upgrade packages: gettext libevent libtool tiff
Mark Brand <mabrand@mabrand.nl>
parents:
1045
diff
changeset
|
6 $(PKG)_CHECKSUM := 5009deb02f67fc3c59c8ce6b82408d1d35d4e38f |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
304
diff
changeset
|
7 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
304
diff
changeset
|
8 $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
304
diff
changeset
|
9 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
304
diff
changeset
|
10 $(PKG)_DEPS := gcc libiconv |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://www.gnu.org/software/gettext/' | \ |
231
fce7481d2b13
improved version update mechanism (make update) of package gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
188
diff
changeset
|
14 grep 'gettext-' | \ |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
231
fce7481d2b13
improved version update mechanism (make update) of package gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
188
diff
changeset
|
16 head -1 |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
247
891180a1d143
build the gettext-tools in addition to the gettext-runtime
Volker Grabsch <vog@notjusthosting.com>
parents:
231
diff
changeset
|
20 cd '$(1)/gettext-runtime' && ./configure \ |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 --host='$(TARGET)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
22 $(ENABLE_SHARED_OR_STATIC) \ |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --prefix='$(PREFIX)/$(TARGET)' \ |
247
891180a1d143
build the gettext-tools in addition to the gettext-runtime
Volker Grabsch <vog@notjusthosting.com>
parents:
231
diff
changeset
|
24 --enable-threads=win32 \ |
248
14320123cf11
fixed dependecies of gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
247
diff
changeset
|
25 --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
|
26 --without-libxml2-prefix \ |
5602f49af84e
bugfix: use consistently "CONFIG_SHELL=$(SHELL)" to fix packages that contain bashisms
Volker Grabsch <vog@notjusthosting.com>
parents:
1065
diff
changeset
|
27 CONFIG_SHELL=$(SHELL) |
5602f49af84e
bugfix: use consistently "CONFIG_SHELL=$(SHELL)" to fix packages that contain bashisms
Volker Grabsch <vog@notjusthosting.com>
parents:
1065
diff
changeset
|
28 $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)' install |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 endef |