Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
2898:23a535663fce | 2900:2784771bed32 |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := octave | 4 PKG := octave |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := 618eda703553b79de4c83b2217ae6c26cef66b01 | 6 $(PKG)_CHECKSUM := 8df8e9641dc5dedd170035b0e2648c37f9c15e8e |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz | 8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz |
9 $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE) | 9 $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE) |
10 $(PKG)_DEPS := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack pcre qhull qrupdate readline suitesparse zlib | 10 $(PKG)_DEPS := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack pcre qhull qrupdate readline suitesparse zlib |
11 | 11 |
13 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; | 13 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; |
14 echo $(octave_VERSION) | 14 echo $(octave_VERSION) |
15 endef | 15 endef |
16 | 16 |
17 define $(PKG)_BUILD | 17 define $(PKG)_BUILD |
18 # build GCC and support libraries | |
19 mkdir '$(1)/.build' | 18 mkdir '$(1)/.build' |
20 cd '$(1)/.build' && '$(1)/configure' \ | 19 cd '$(1)/.build' && '$(1)/configure' \ |
21 --host='$(TARGET)' \ | 20 --host='$(TARGET)' \ |
22 --build="`config.guess`" \ | 21 --build="`config.guess`" \ |
23 --prefix='$(PREFIX)/$(TARGET)' \ | 22 --prefix='$(PREFIX)/$(TARGET)' \ |
24 --without-opengl \ | |
25 --disable-docs \ | 23 --disable-docs \ |
26 --disable-gui \ | 24 --disable-gui \ |
25 FLTK_CONFIG="$(PREFIX)/bin/$(TARGET)-fltk-config" \ | |
27 gl_cv_func_gettimeofday_clobber=no | 26 gl_cv_func_gettimeofday_clobber=no |
28 | 27 |
29 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install | 28 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install |
30 endef | 29 endef |