Mercurial > mxe-octave
annotate src/of-fits.mk @ 3854:85568f3159a4
binary-packages: update for cross tools
* Makefile.in: add MXE_OCTAVECONFIG and use for of-pkg building
* dist-files.mk: add of-fits-1-cross-fixes.patch, of-sockets-1-cross-fixes.patch
* src/default-octave.mk: use --enable-cross-tools not --enable-cross-mkoctfile and
install octave-config
* src/of-fits-1-cross-fixes.patch: new file
* src/of-fits.mk: enable package compile
* src/of-fl-core-1-fixes.patch: new file
* src/of-fl-core.mk: enable pkg conpile
* src/of-sockets-1-cross-fixes.patch: new file
* src/of-sockets.mk: enable pkg conpile
author | John Donoghue |
---|---|
date | Fri, 20 Mar 2015 14:39:17 -0400 |
parents | 58935b4de51f |
children | 414c464563c6 |
rev | line source |
---|---|
3414
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := of-fits |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3598
4b4650c7bc44
of-*: updated control=2.6.4, io=2.2.2, quaterion=2.2.1, fits=1.0.5, netcdf=1.0.4
John Donoghue
parents:
3561
diff
changeset
|
6 $(PKG)_VERSION := 1.0.5 |
4b4650c7bc44
of-*: updated control=2.6.4, io=2.2.2, quaterion=2.2.1, fits=1.0.5, netcdf=1.0.4
John Donoghue
parents:
3561
diff
changeset
|
7 $(PKG)_CHECKSUM := 0803d815d83d82d1b906c3a00fb43f72afbf4362 |
3414
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := fits |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := fits-$($(PKG)_VERSION).tar.gz |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/octave/$($(PKG)_FILE)?download |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 $(PKG)_DEPS := pkg-config cfitsio |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
3561
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ |
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
16 $(SED) -n 's,.*title="fits-\([0-9][^"]*\).tar.gz".*,\1,p' | \ |
ae4193aad5fe
revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents:
3480
diff
changeset
|
17 head -1 |
3414
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 endef |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 |
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
3854 | 21 $(OCTAVE_FORGE_PKG_BUILD) |
3414
3d24cec05900
Add octave forge fits package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 endef |