Mercurial > mxe-octave
annotate src/of-financial.mk @ 4066:0962acdde3be
builld: allow out of source build
* Makefile.in: add TOP_BUILD_DIR var and use TOP_DIR=srcdir, TOP_BUILD_DIR=builddir, modify paths to use TOP_DIR where needed
* binary-dist-rules.mk: use TOP_DIR and TOP_BUILD_DIR where needed
* makeinst-script.sh: use script path to determine TOPDIR, use TOPDIR where needed
* src/default-octave.mk: install octave-version to builddir
* src/stable-octave.mk: install octave-version to builddir
* src/octave.mk: install octave-version to builddir
* tools/set-mxe-env.sh.in: update fir builddir and srcdir use
author | John Donoghue |
---|---|
date | Wed, 23 Dec 2015 08:11:04 -0500 |
parents | d8a7730284ba |
children | c25eb2c88594 |
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 := |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
6 $(PKG)_VERSION := 0.4.0 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := b49cac5e247904cf7288442a823af74da3a1df18 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := financial |
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 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 $(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
|
16 $(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
|
17 head -1 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 endef |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 $(OCTAVE_FORGE_PKG_BUILD) |
d8a7730284ba
of-financial: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 endef |