view src/mingwrt.mk @ 3948:1fea617cdf13

of-odepkg: update to v0.8.5 * src/of-odepkg.mk: update version, checksum, compile if binary package * build_packages.m: add odepkg back to install script * Makefile.am: add of-odepkg back to installed of packages
author John Donoghue
date Thu, 21 May 2015 13:51:16 -0400
parents 13be64f9f16d
children 7d1e45c2f175
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- 'http://sourceforge.net/projects/mingw/files/MinGW/Base/mingw-rt/' | \
    $(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