Mercurial > mxe-octave
view 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 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := octave $(PKG)_IGNORE := $(PKG)_CHECKSUM := 8df8e9641dc5dedd170035b0e2648c37f9c15e8e $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE) $(PKG)_DEPS := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack pcre qhull qrupdate readline suitesparse zlib define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package octave.' >&2; echo $(octave_VERSION) endef define $(PKG)_BUILD mkdir '$(1)/.build' cd '$(1)/.build' && '$(1)/configure' \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-docs \ --disable-gui \ FLTK_CONFIG="$(PREFIX)/bin/$(TARGET)-fltk-config" \ gl_cv_func_gettimeofday_clobber=no $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install endef