Mercurial > mxe-octave
annotate src/gettext.mk @ 188:11829aaff7d3
new package: expat
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 10 Nov 2008 11:09:59 +0100 |
parents | 5823fd0f68e6 |
children | fce7481d2b13 |
rev | line source |
---|---|
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
1 # gettext |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
2 # http://www.gnu.org/software/gettext/ |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := gettext |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_VERSION := 0.17 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
6 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION)/gettext-runtime |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
7 $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_DEPS := gcc |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 define $(PKG)_UPDATE |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 wget -q -O- 'ftp://ftp.gnu.org/pub/gnu/gettext/' | \ |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 sort | \ |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 tail -1 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 endef |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
131
ed98f6b98e35
use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents:
129
diff
changeset
|
19 cd '$(1)' && ./configure \ |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 --host='$(TARGET)' \ |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 --disable-shared \ |
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 --prefix='$(PREFIX)/$(TARGET)' \ |
188 | 23 --without-libexpat-prefix \ |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --enable-threads=win32 |
184
5823fd0f68e6
add 'SHELL=bash' hints where necessary, so it works on systems where /bin/sh isn't a Bash
Volker Grabsch <vog@notjusthosting.com>
parents:
131
diff
changeset
|
25 $(MAKE) -C '$(1)/intl' -j '$(JOBS)' SHELL=bash install |
129
9fb896207491
translated package: gettext
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 endef |