Mercurial > mxe-octave
annotate src/octave.mk @ 2995:c004ec274dfa
Update octave.mk file to current checksum.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 25 May 2013 22:52:05 -0400 |
parents | 1f944d8d6fe5 |
children | 4f9b72cf7ee7 |
rev | line source |
---|---|
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := octave |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
2995
c004ec274dfa
Update octave.mk file to current checksum.
John Donoghue <john.donoghue@ieee.org>
parents:
2993
diff
changeset
|
6 $(PKG)_CHECKSUM := a51f52fa6dfef2e905d0c64f0401caab5a11faca |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz |
2931
5f923fdabefe
update to octave 3.7.1 snapshot
John W. Eaton <jwe@octave.org>
parents:
2914
diff
changeset
|
9 $(PKG)_URL := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE) |
2979
137b8fb799a9
update stable octave to 3.6.4; include texinfo as dependency
John W. Eaton <jwe@octave.org>
parents:
2975
diff
changeset
|
10 $(PKG)_DEPS := arpack blas curl fftw fltk fontconfig gcc glpk gnuplot graphicsmagick hdf5 lapack llvm pcre pstoedit qhull qrupdate qscintilla qt readline suitesparse texinfo zlib |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 echo $(octave_VERSION) |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 endef |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 define $(PKG)_BUILD |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
18 mkdir '$(1)/.build' |
2953
9ee646095047
temporary fix for mkoctfile variables
John W. Eaton <jwe@octave.org>
parents:
2952
diff
changeset
|
19 cd '$(1)' && autoreconf -W none |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
20 cd '$(1)/.build' && '$(1)/configure' \ |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 --host='$(TARGET)' \ |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 --build="`config.guess`" \ |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 --prefix='$(PREFIX)/$(TARGET)' \ |
2899
b4e625571bf6
Include fontconfig and freetype as a dependencies of Octave.
John W. Eaton <jwe@octave.org>
parents:
2894
diff
changeset
|
24 FLTK_CONFIG="$(PREFIX)/bin/$(TARGET)-fltk-config" \ |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
25 gl_cv_func_gettimeofday_clobber=no |
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
26 |
2936
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
27 ## We want both of these install steps so that we install in the |
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
28 ## location set by the configure --prefix option, and the other |
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
29 ## in a directory tree that will have just Octave files. |
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install |
fc124629c527
backout changeset 0adbff7dec24
John W. Eaton <jwe@octave.org>
parents:
2935
diff
changeset
|
31 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(PREFIX)/../octave install |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 endef |
2980
2cf09b449d88
readline patches for windows from goffioul
John W. Eaton <jwe@octave.org>
parents:
2975
diff
changeset
|
33 |