Mercurial > mxe-octave
annotate src/octave.mk @ 2874:890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Nov 2012 17:43:36 -0500 |
parents | 43a1c4d36636 |
children | 152e3e693568 |
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 := |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 $(PKG)_CHECKSUM := 1ea936554aaabaabb747a4fcf98ecfbbfb265656 |
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 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE) |
2873
43a1c4d36636
Include arpack as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
2872
diff
changeset
|
10 $(PKG)_DEPS := arpack blas curl fltk gcc glpk graphicsmagick lapack pcre qrupdate readline suitesparse 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 |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # build GCC and support libraries |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
19 mkdir '$(1)/.build' |
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)' \ |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 --without-opengl \ |
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 --disable-docs \ |
2874
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
26 --disable-gui \ |
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
27 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
|
28 |
890aa60f7b87
Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents:
2873
diff
changeset
|
29 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install |
2862
e93d77b61f17
Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 endef |