summaryrefslogtreecommitdiffstats
path: root/plugins/examples/host-toolchain/make-w32-bin.mk
blob: 040916b55b10afa412bb5ac30be36084857a1016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This file is part of MXE.
# See index.html for further information.

PKG             := make-w32-bin
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 4.2
$(PKG)_CHECKSUM := 6cab11301e601996ab0cb7b3b903e5a55d5bd795614946cf6bd025cd61c710c6
$(PKG)_SUBDIR   := .
$(PKG)_FILE     := make-$($(PKG)_VERSION)-without-guile-w32-bin.zip
$(PKG)_URL      := http://$(SOURCEFORGE_MIRROR)/project/ezwinports/$($(PKG)_FILE)
$(PKG)_DEPS     :=

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://sourceforge.net/projects/ezwinports/files/' | \
    $(SED) -n 's,.*/make-\([0-9.]*\)-without-guile.*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    cp '$(1)/bin/'* '$(PREFIX)/$(TARGET)/bin/'
    cp '$(1)/lib/'* '$(PREFIX)/$(TARGET)/lib/'
endef