view src/build-m4.mk @ 4055:ccade212c3f9

ghostscript: set ghostscript search paths based on mxe install path (Bug #46301) * src/ghostscript-mingw-i686-makefile: update GS_LIB_DEFAULT, GS_DOC_DIR paths * src/ghostscript-mingw-x86_64-makefile: update GS_LIB_DEFAULT, GS_DOC_DIR paths * src/ghostscript.mk: use ENABLE_WINDOWS_64 flag to set whether to compile mingw 32 or 64
author John Donoghue
date Mon, 02 Nov 2015 17:30:00 -0500
parents cdf855c2f26f
children 4117faf76988
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := build-m4
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.4.17
$(PKG)_CHECKSUM := 4f80aed6d8ae3dacf97a0cb6e989845269e342f0
$(PKG)_SUBDIR   := m4-$($(PKG)_VERSION)
$(PKG)_FILE     := m4-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := ftp://ftp.gnu.org/pub/gnu/m4/$($(PKG)_FILE)
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    mkdir '$(1).build'
    cd    '$(1).build' && '$(1)/configure' \
        --prefix='$(BUILD_TOOLS_PREFIX)'
    $(MAKE) -C '$(1).build' -j '$(JOBS)'
    $(MAKE) -C '$(1).build' -j 1 install
endef