annotate src/mingwrt.mk @ 2525:4d0f3a9da57e

all packages: use $(WGET) portability variable
author Tony Theodore <tonyt@logyst.com>
date Wed, 09 May 2012 01:16:05 +1000
parents b5321bdec505
children 7e38c2c1bafe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2085
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 285
diff changeset
4 PKG := mingwrt
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 432
diff changeset
5 $(PKG)_IGNORE :=
1959
688b877b2c0b update package mingwrt
Mark Brand <mabrand@mabrand.nl>
parents: 1468
diff changeset
6 $(PKG)_CHECKSUM := 7c63f3695968054b7236282f35562bb3a2c388d4
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 285
diff changeset
7 $(PKG)_SUBDIR := .
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1033
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-mingw32-dev.tar.gz
2085
3ca30d0975e4 packages libgnurx mingwrt mingw-utils w32api: fix upstream URLs
Mark Brand <mabrand@mabrand.nl>
parents: 1959
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/Base/mingw-rt/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 285
diff changeset
10 $(PKG)_DEPS :=
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://sourceforge.net/projects/mingw/files/MinGW/Base/mingw-rt/' | \
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1033
diff changeset
14 $(SED) -n 's,.*mingwrt-\([0-9][^"]*\)/".*,\1,p' | \
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1033
diff changeset
15 head -1
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
285
08a32251156c portability fix for Open Solaris: when "ginstall" exists, use that instead of "install"
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
19 $(INSTALL) -d '$(PREFIX)/$(TARGET)'
131
ed98f6b98e35 use $(1) instead of $(2) to address to temporary build dir
Volker Grabsch <vog@notjusthosting.com>
parents: 118
diff changeset
20 cd '$(1)' && \
218
0b626230c49b don't install the DLL file of mingwrt, because there is no need for it
Volker Grabsch <vog@notjusthosting.com>
parents: 200
diff changeset
21 cp -rpv include lib '$(PREFIX)/$(TARGET)'
115
ae21cae1b378 translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 endef