Mercurial > mxe-octave
annotate src/w32api.mk @ 3664:ec301e1de20f
arpack: dont use destdir in native mingw mode
* src/arpack.mk: set DESTDIR to "" in native mingw mode
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 24 Jul 2014 19:01:06 -0400 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2087
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 := w32api |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
6 $(PKG)_VERSION := 3.17 |
2087
dbc7168d790c
update packages gnutls w32api
Mark Brand <mabrand@mabrand.nl>
parents:
2085
diff
changeset
|
7 $(PKG)_CHECKSUM := 1eb60b0cd546bf3efdc3fb89a4118df11da2314a |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
8 $(PKG)_SUBDIR := . |
2087
dbc7168d790c
update packages gnutls w32api
Mark Brand <mabrand@mabrand.nl>
parents:
2085
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-2-mingw32-dev.tar.lzma |
2085
3ca30d0975e4
packages libgnurx mingwrt mingw-utils w32api: fix upstream URLs
Mark Brand <mabrand@mabrand.nl>
parents:
1641
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/MinGW/Base/$(PKG)/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
11 $(PKG)_DEPS := |
115
ae21cae1b378
translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
ae21cae1b378
translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/' | \ |
1466
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1095
diff
changeset
|
15 $(SED) -n 's,.*w32api-\([0-9][^"]*\)/".*,\1,p' | \ |
2726fbef533c
improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents:
1095
diff
changeset
|
16 head -1 |
115
ae21cae1b378
translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
ae21cae1b378
translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
ae21cae1b378
translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
20 $(INSTALL) -d '$(HOST_PREFIX)' |
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
21 cp -rpv '$(1)/include' '$(1)/lib' '$(HOST_PREFIX)' |
115
ae21cae1b378
translated packages: mingwrt, w32api, binutils, gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 endef |