Mercurial > mxe-octave
annotate src/old.mk @ 3966:e1c46df42951
of-netcdf: update to 1.0.7
* src/of-netcdf.mk: update versuion, checksum
* build_packages.m: update netcdf version
* src/of-netcdf-1-cross-fixes.patch: removed file
* dist-files.mk: removed of-netcdf-1-cross-fixes.patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 15 Jun 2015 20:50:52 -0400 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
714
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:
306
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
4 PKG := old |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 0.17 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
7 $(PKG)_CHECKSUM := d519a8282b0774c344ffeb1b4899f8be53d6d7b3 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
8 $(PKG)_SUBDIR := old-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
9 $(PKG)_FILE := old-$($(PKG)_VERSION).tar.bz2 |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
285
diff
changeset
|
10 $(PKG)_URL := http://blitiri.com.ar/p/old/files/$($(PKG)_VERSION)/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := |
262 | 12 |
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://blitiri.com.ar/p/old/' | \ |
262 | 15 grep 'old-' | \ |
16 $(SED) -n 's,.*old-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
21 cd '$(1)' && $(MXE_CC) -O3 -Iinclude -c -o libold.o lib/libold.c |
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
22 cd '$(1)' && $(MXE_AR) cr libold.a libold.o |
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
23 $(MXE_RANLIB) '$(1)/libold.a' |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(INSTALL) -d '$(HOST_LIBDIR)' |
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
25 $(INSTALL) -m644 '$(1)/libold.a' '$(HOST_LIBDIR)' |
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
26 $(INSTALL) -d '$(HOST_INCDIR)' |
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
27 $(INSTALL) -m644 '$(1)/lib/old.h' '$(HOST_INCDIR)' |
262 | 28 endef |