Mercurial > mxe-octave
view src/mingw-w64.mk @ 4666:bb748339b351
build-sed: new package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 19 Apr 2018 17:17:45 -0400 |
parents | 84c86b41a6a2 |
children | 586fe990bcd7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := mingw-w64 $(PKG)_IGNORE := $(PKG)_VERSION := 5.0.3 $(PKG)_CHECKSUM := 96278378b829695007ce6a527278cba19cb829f2 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$(PKG)-release/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/' | \ $(SED) -n 's,.*mingw-w64-v\([0-9.]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD mkdir '$(1).headers-build' cd '$(1).headers-build' && '$(1)/mingw-w64-headers/configure' \ --host='$(TARGET)' \ --prefix='$(HOST_PREFIX)' \ --enable-sdk=all \ --enable-secure-api $(MAKE) -C '$(1).headers-build' install endef