Mercurial > mxe-octave
view src/hunspell.mk @ 4545:0e56fe2d2ef5
Makefile.in: add update-build-tools target
* Makefile.in: add update-build-tools target
* src/build-autoconf.mk, src/build-automake.mk,
src/build-bison.mk, src/build-gawk.mk,
src/build-gcc.mk, src/build-gettext.mk,
src/build-gperf.mk, src/build-m4.mk,
src/build-texinfo.mk, src/build-libtool.mk
: update PKG_UPDATE for getting latest version from gnu.org
* src/build-cmake.mk, src/build-flex.mk,
src/build-lzip.mk, src/build-pkg-config.mk,
src/pkg-config.mk, src/build-scons.mk
: add implemented PKG_UPDATE macro
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 23 Nov 2017 12:05:29 -0500 |
parents | 13be64f9f16d |
children | dc3eb553f5e9 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := hunspell $(PKG)_IGNORE := $(PKG)_VERSION := 1.3.2 $(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 := 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 '$(MXE_CXX)' \ -W -Wall -Werror -ansi -pedantic \ '$(2).cpp' -o '$(HOST_BINDIR)/test-hunspell.exe' \ `'$(MXE_PKG_CONFIG)' hunspell --cflags --libs` endef