Mercurial > mxe-octave
view src/hunspell.mk @ 3014:b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 16:59:24 -0400 |
parents | bcc26ffe9a0f |
children | 951da75fd09c |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := hunspell $(PKG)_IGNORE := $(PKG)_CHECKSUM := 902c76d2b55a22610e2227abc4fd26cbe606a51c $(PKG)_SUBDIR := hunspell-$($(PKG)_VERSION) $(PKG)_FILE := hunspell-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/hunspell/Hunspell/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc libiconv gettext readline pthreads define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/hunspell/files/Hunspell/' | \ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ head -1 endef define $(PKG)_BUILD # Note: the configure file doesn't pick up pdcurses, so "ui" is disabled cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --with-warnings \ --without-ui \ --with-readline \ --prefix='$(HOST_PREFIX)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= # Test '$(TARGET)-g++' \ -W -Wall -Werror -ansi -pedantic \ '$(2).cpp' -o '$(HOST_BINDIR)/test-hunspell.exe' \ `'$(TARGET)-pkg-config' hunspell --cflags --libs` endef