# HG changeset patch # User John W. Eaton # Date 1353088583 18000 # Node ID e93d77b61f17f656ad02395d6c0810ccb4edea6d # Parent 18e1f9937a9c7bd73e740ac1b809b996b5bdad11 Include support for building Octave. diff -r 18e1f9937a9c -r e93d77b61f17 index.html --- a/index.html Thu Nov 15 18:06:01 2012 -0500 +++ b/index.html Fri Nov 16 12:56:23 2012 -0500 @@ -1664,6 +1664,11 @@ flexdll + octave + 3.7.0+ + Octave + + ogg 1.3.0 OGG diff -r 18e1f9937a9c -r e93d77b61f17 src/octave.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/octave.mk Fri Nov 16 12:56:23 2012 -0500 @@ -0,0 +1,28 @@ +# 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 lapack pcre readline gcc + +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