Mercurial > mxe-octave
view src/gettext.mk @ 265:5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 01 Mar 2009 16:35:21 +0100 |
parents | 14320123cf11 |
children | 25d36cc629f6 |
line wrap: on
line source
# gettext PKG := gettext $(PKG)_VERSION := 0.17 $(PKG)_SUBDIR := gettext-$($(PKG)_VERSION) $(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz $(PKG)_WEBSITE := http://www.gnu.org/software/gettext/ $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) $(PKG)_DEPS := gcc libiconv define $(PKG)_UPDATE wget -q -O- 'http://www.gnu.org/software/gettext/' | \ grep 'gettext-' | \ $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD # 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)' \ --enable-threads=win32 \ --without-libexpat-prefix \ --without-libxml2-prefix $(MAKE) -C '$(1)/gettext-runtime/intl' -j '$(JOBS)' SHELL=bash install endef