view src/mingwrt.mk @ 4763:90af5a37a76e

of-gsl: add patch to use cross tools for compiling (Bug #54255) * src/of-gsl-1-cross-fixes.patch: new file * dist-files.mk: add of-gsl-1-cross-fixes.patch
author John Donoghue
date Fri, 06 Jul 2018 12:05:29 -0400
parents 7d1e45c2f175
children
line wrap: on
line source

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

PKG             := mingwrt
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 3.20-2
$(PKG)_CHECKSUM := cc6c1f841ab255e52e60f9c967cea6acf29354db
$(PKG)_SUBDIR   := .
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION)-mingw32-dev.tar.lzma
$(PKG)_URL      := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/Base/mingw-rt/mingwrt-3.20/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/' | \
    $(SED) -n 's,.*mingwrt-\([0-9][^"]*\)/".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    $(INSTALL) -d '$(HOST_PREFIX)'
    cd '$(1)' && \
        cp -rpv include lib '$(HOST_PREFIX)'
endef