Mercurial > mxe-octave
annotate src/of-financial.mk @ 4451:f81858aaddc8
of-mapping: re-allow checking of rad2deg, deg2rad in configure when cross compiling (Bug #47494)
* src/of-mapping-1-cross-fixes.patch: remove cross compile patch
author | John D |
---|---|
date | Tue, 15 Aug 2017 08:04:34 -0400 |
parents | 1933a9113e65 |
children | 7d1e45c2f175 |
rev | line source |
---|---|
3907
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := of-financial |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
4085 | 6 $(PKG)_VERSION := 0.5.0 |
7 $(PKG)_CHECKSUM := 81612eb7a5ccbcee22f30edda93586c074b7563f | |
3907
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
4085 | 9 $(PKG)_SUBDIR := financial-$($(PKG)_VERSION) |
3907
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := financial-$($(PKG)_VERSION).tar.gz |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 $(PKG)_DEPS := |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 |
4449
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4085
diff
changeset
|
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4085
diff
changeset
|
15 $(PKG)_DEPS += $(OCTAVE_TARGET) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4085
diff
changeset
|
16 endif |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4085
diff
changeset
|
17 |
3907
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 define $(PKG)_UPDATE |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 $(SED) -n 's,.*title="financial-\([0-9][^"]*\).tar.gz".*,\1,p' | \ |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 head -1 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 endef |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
23 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 define $(PKG)_BUILD |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
25 $(OCTAVE_FORGE_PKG_BUILD) |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
26 endef |