Mercurial > hg > mxe
view src/octave.mk @ 3051:751d620bdcef
Include fltk as a dependency of Octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Nov 2012 10:34:35 -0500 |
parents | fddaea7e8096 |
children | b7c77abd9273 |
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)_FILE := octave-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE) $(PKG)_DEPS := blas curl fltk gcc graphicsmagick lapack pcre 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)/octave-$($(PKG)_VERSION)/configure' \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --without-opengl \ --disable-docs \ --disable-gui sed -i '/^#define \(gm\|local\)time rpl_/d' '$(1).build/config.h' $(MAKE) -C '$(1).build' -j '$(JOBS)' install endef