view src/msys-coreutils.mk @ 4127:132ee4f1871b

Fix libmng compilation on fast computers with fast SSDs (bug #47712). * src/libmng.mk: Run autoreconf in its own process, followed by configure. Delay between processes guarantees that the first is done before the next starts. Disable parallel make (make -j 1).
author Rik <rik@octave.org>
date Wed, 20 Apr 2016 15:10:50 -0700
parents ae4193aad5fe
children
line wrap: on
line source

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

PKG             := msys-coreutils
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 5.97-3
$(PKG)_CHECKSUM := 54ac256a8f0c6a89f1b3c7758f3703b4e56382be
$(PKG)_REMOTE_SUBDIR := coreutils/coreutils-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := coreutils-$($(PKG)_VERSION)-msys-1.0.13-bin.tar.lzma
$(PKG)_URL      := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    $(WGET) -q -O- '$(MSYS_BASE_URL)/coreutils' | \
    $(SED) -n 's,.*title="coreutils-\([0-9][^"]*\)".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    mkdir -p '$(MSYS_BASE_DIR)'
    cd '$(1)' && tar cf - . | ( cd '$(MSYS_BASE_DIR)'; tar xpf - )
    mkdir -p '$(MSYS_INFO_DIR)'
    cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list
endef