Mercurial > mxe-octave
annotate src/of-interval.mk @ 4007:8fc810f8ff93
conditionally depend on mpfr and libgomp
* of-interval.mk: Don't depend on mpfr if we are using the system GCC.
* of-nurbs.mk: Likewise for libgomp.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 05 Aug 2015 13:55:32 -0400 |
parents | b2fa94df9b0d |
children | 320b6359718e |
rev | line source |
---|---|
3967
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := of-interval |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
4004 | 6 $(PKG)_VERSION := 1.1.0 |
7 $(PKG)_CHECKSUM := a82d45680172f7b3d60e3709ce11c5e909815d5c | |
3967
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := interval-$($(PKG)_VERSION) |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := interval-$($(PKG)_VERSION).tar.gz |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' |
4007
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
4004
diff
changeset
|
12 $(PKG)_DEPS := |
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
4004
diff
changeset
|
13 ifeq ($(USE_SYSTEM_GCC),no) |
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
4004
diff
changeset
|
14 $(PKG)_DEPS += mpfr |
8fc810f8ff93
conditionally depend on mpfr and libgomp
John W. Eaton <jwe@octave.org>
parents:
4004
diff
changeset
|
15 endif |
3967
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 define $(PKG)_UPDATE |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 $(SED) -n 's,.*title="interval-\([0-9][^"]*\).tar.gz".*,\1,p' | \ |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 head -1 |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 endef |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 $(OCTAVE_FORGE_PKG_BUILD) |
55f3a9ff20b8
of-interval: add to mxe-octave
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
25 endef |