Mercurial > mxe-octave
changeset 247:891180a1d143
build the gettext-tools in addition to the gettext-runtime
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 27 Feb 2009 22:22:40 +0100 |
parents | 7fbb9ee91fd2 |
children | 14320123cf11 |
files | src/gettext.mk |
diffstat | 1 files changed, 26 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gettext.mk Fri Feb 27 20:29:18 2009 +0100 +++ b/src/gettext.mk Fri Feb 27 22:22:40 2009 +0100 @@ -3,7 +3,7 @@ PKG := gettext $(PKG)_VERSION := 0.17 -$(PKG)_SUBDIR := gettext-$($(PKG)_VERSION)/gettext-runtime +$(PKG)_SUBDIR := gettext-$($(PKG)_VERSION) $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) $(PKG)_DEPS := gcc @@ -16,11 +16,32 @@ endef define $(PKG)_BUILD - cd '$(1)' && ./configure \ + # native build for gettext-tools + cd '$(1)/gettext-tools' && ./configure \ + --disable-shared \ + --prefix='$(PREFIX)' \ + --disable-threads \ + --without-libpth-prefix \ + --without-libiconv-prefix \ + --without-libintl-prefix \ + --without-libglib-2.0-prefix \ + --without-libcroco-0.6-prefix \ + --without-libxml2-prefix \ + --without-libncurses-prefix \ + --without-libtermcap-prefix \ + --without-libxcurses-prefix \ + --without-libcurses-prefix \ + --without-included-regex \ + --without-libexpat-prefix \ + --without-emacs + $(MAKE) -C '$(1)/gettext-tools' -j '$(JOBS)' SHELL=bash + $(MAKE) -C '$(1)/gettext-tools/src' -j 1 SHELL=bash lib_LTLIBRARIES= install-binPROGRAMS + # cross build for gettext-runtime + cd '$(1)/gettext-runtime' && ./configure \ --host='$(TARGET)' \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ - --without-libexpat-prefix \ - --enable-threads=win32 - $(MAKE) -C '$(1)/intl' -j '$(JOBS)' SHELL=bash install + --enable-threads=win32 \ + --without-libexpat-prefix + $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)' SHELL=bash install endef