Mercurial > mxe-octave
view src/octave.mk @ 2891:848118c648ae
Include gnuplot as a dependency of Octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 03 Dec 2012 09:15:05 -0500 |
parents | 152e3e693568 |
children | 0d9aa105b49e |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := octave $(PKG)_IGNORE := $(PKG)_CHECKSUM := 1ea936554aaabaabb747a4fcf98ecfbbfb265656 $(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 # build GCC and support libraries mkdir '$(1)/.build' cd '$(1)/.build' && '$(1)/configure' \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --without-opengl \ --disable-docs \ --disable-gui \ gl_cv_func_gettimeofday_clobber=no $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install endef