comparison src/stable-octave.mk @ 2941:8f0c44add205

rename octave-stable to stable-octave to avoid conflict with patch file
author John W. Eaton <jwe@octave.org>
date Fri, 04 Jan 2013 14:48:15 -0500
parents src/octave-stable.mk@fa2beb4c25a5
children 170d65292853
comparison
equal deleted inserted replaced
2940:fa2beb4c25a5 2941:8f0c44add205
1 # This file is part of MXE.
2 # See index.html for further information.
3
4 PKG := octave-stable
5 $(PKG)_IGNORE :=
6 $(PKG)_CHECKSUM := 543d0c9e9a6c5406004b86a803c34711f0cdfcdf
7 $(PKG)_SUBDIR := octave-$($(PKG)_VERSION)
8 $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz
9 $(PKG)_URL := ftp://alpha.gnu.org/gnu/octave/$($(PKG)_FILE)
10 $(PKG)_DEPS := arpack blas curl fftw fltk gcc glpk gnuplot graphicsmagick lapack pcre qhull qrupdate readline suitesparse zlib
11
12 define $(PKG)_UPDATE
13 echo 'Warning: Updates are temporarily disabled for package octave.' >&2;
14 echo $($(PKG)_VERSION)
15 endef
16
17 define $(PKG)_BUILD
18 # build GCC and support libraries
19 mkdir '$(1)/.build'
20 cd '$(1)/.build' && '$(1)/configure' \
21 --host='$(TARGET)' \
22 --build="`config.guess`" \
23 --prefix='$(PREFIX)/$(TARGET)' \
24 FLTK_CONFIG="$(PREFIX)/bin/$(TARGET)-fltk-config" \
25 gl_cv_func_gettimeofday_clobber=no
26
27 ## We want both of these install steps so that we install in the
28 ## location set by the configure --prefix option, and the other
29 ## in a directory tree that will have just Octave files.
30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install
31 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' DESTDIR=$(PREFIX)/../octave-stable install
32 endef