Mercurial > mxe-octave
comparison src/octave.mk @ 2862:e93d77b61f17
Include support for building Octave.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 16 Nov 2012 12:56:23 -0500 |
parents | |
children | 028eabbb0f76 |
comparison
equal
deleted
inserted
replaced
2861:18e1f9937a9c | 2862:e93d77b61f17 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := octave | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 1ea936554aaabaabb747a4fcf98ecfbbfb265656 | |
7 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz | |
8 $(PKG)_URL := http://jweaton.org/$($(PKG)_FILE) | |
9 $(PKG)_DEPS := blas lapack pcre readline gcc | |
10 | |
11 define $(PKG)_UPDATE | |
12 echo 'Warning: Updates are temporarily disabled for package octave.' >&2; | |
13 echo $(octave_VERSION) | |
14 endef | |
15 | |
16 define $(PKG)_BUILD | |
17 # build GCC and support libraries | |
18 mkdir '$(1).build' | |
19 cd '$(1).build' && '$(1)/octave-$($(PKG)_VERSION)/configure' \ | |
20 --host='$(TARGET)' \ | |
21 --build="`config.guess`" \ | |
22 --prefix='$(PREFIX)/$(TARGET)' \ | |
23 --without-opengl \ | |
24 --disable-docs \ | |
25 --disable-gui | |
26 sed -i '/^#define \(gm\|local\)time rpl_/d' '$(1).build/config.h' | |
27 $(MAKE) -C '$(1).build' -j '$(JOBS)' install | |
28 endef |