# This file is part of mingw-cross-env. # See doc/index.html for further information. # Mingw-w64 PKG := mingw-w64 $(PKG)_IGNORE := $(PKG)_CHECKSUM := bc48803ff15a777adad8890519bd3ebec90acab9 $(PKG)_SUBDIR := mirror-$(PKG)-$($(PKG)_VERSION)/trunk $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/mirror/$(PKG)/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/mirror/$(PKG)/commits/master' | \ $(SED) -n 's#.*\([^<]\{7\}\)[^<]\{3\}<.*#\1#p' | \ head -1 endef define $(PKG)_BUILD_mingw-w64 mkdir '$(1).headers-build' cd '$(1).headers-build' && '$(1)/mingw-w64-headers/configure' \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ --enable-sdk=all $(MAKE) -C '$(1).headers-build' install endef $(PKG)_BUILD_x86_64-w64-mingw32 = $($(PKG)_BUILD_mingw-w64) $(PKG)_BUILD_i686-w64-mingw32 = $($(PKG)_BUILD_mingw-w64)