annotate src/octave.mk @ 2900:2784771bed32

merge stable with default and update to newer Octave version
author John W. Eaton <jwe@octave.org>
date Tue, 04 Dec 2012 14:10:44 -0500
parents 5da5a3cf24db b4e625571bf6
children 41df214441e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
2900
2784771bed32 merge stable with default and update to newer Octave version
John W. Eaton <jwe@octave.org>
parents: 2896 2899
diff changeset
6 $(PKG)_CHECKSUM := 8df8e9641dc5dedd170035b0e2648c37f9c15e8e
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
2896
5da5a3cf24db merge gcc.mk changes from stable
John W. Eaton <jwe@octave.org>
parents: 2894
diff changeset
9 $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE)
2891
848118c648ae Include gnuplot as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents: 2890
diff changeset
10 $(PKG)_DEPS := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack pcre qhull 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
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'
890aa60f7b87 Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents: 2873
diff changeset
19 cd '$(1)/.build' && '$(1)/configure' \
2862
e93d77b61f17 Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 --host='$(TARGET)' \
e93d77b61f17 Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 --build="`config.guess`" \
e93d77b61f17 Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
e93d77b61f17 Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 --disable-docs \
2896
5da5a3cf24db merge gcc.mk changes from stable
John W. Eaton <jwe@octave.org>
parents: 2894
diff changeset
24 --disable-gui \
2899
b4e625571bf6 Include fontconfig and freetype as a dependencies of Octave.
John W. Eaton <jwe@octave.org>
parents: 2894
diff changeset
25 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
26 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
27
890aa60f7b87 Temporary Octave patch file, improve Octave config and build.
John W. Eaton <jwe@octave.org>
parents: 2873
diff changeset
28 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install
2862
e93d77b61f17 Include support for building Octave.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 endef