Mercurial > mxe-octave
annotate src/qrupdate.mk @ 4963:f5a1bf89669c
* src/qrupdate.mk: force add missing autoconf files
author | John Donoghue |
---|---|
date | Thu, 21 Feb 2019 13:56:52 -0500 |
parents | 506a61f959e4 |
children |
rev | line source |
---|---|
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := qrupdate |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3326
diff
changeset
|
6 $(PKG)_VERSION := 1.1.2 |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := f7403b646ace20f4a2b080b4933a1e9152fac526 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := qrupdate-$($(PKG)_VERSION).tar.gz |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE) |
3545
c21ca79d7980
Remove ENABLE_OPEN_BLAS from .mk files and use just to add openblass to the distribution
John Donoghue
parents:
3480
diff
changeset
|
11 $(PKG)_DEPS := blas lapack |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
4304
0db33a326eec
make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents:
3545
diff
changeset
|
13 ifeq ($(ENABLE_FORTRAN_INT64),yes) |
0db33a326eec
make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents:
3545
diff
changeset
|
14 $(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" |
3015
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
15 endif |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
16 |
4741
35464f52609a
allow qrupdate to build without separate xerbla lib
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
17 ifeq ($(MXE_WINDOWS_BUILD),yes) |
35464f52609a
allow qrupdate to build without separate xerbla lib
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
18 $(PKG)_XERBLA_LIB_MAKE_OPTION := XERBLA_LIB="-lxerbla" |
35464f52609a
allow qrupdate to build without separate xerbla lib
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
19 endif |
35464f52609a
allow qrupdate to build without separate xerbla lib
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
20 |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 define $(PKG)_UPDATE |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 echo 'Warning: Updates are temporarily disabled for package qrupdate.' >&2; |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 echo $(qrupdate_VERSION) |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 endef |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 define $(PKG)_BUILD |
2996
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
27 mkdir '$(1)/.build' |
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
28 touch '$(1)/NEWS' '$(1)/AUTHORS' |
4963
f5a1bf89669c
* src/qrupdate.mk: force add missing autoconf files
John Donoghue
parents:
4959
diff
changeset
|
29 cd '$(1)' && autoreconf -fi -I m4 -W none |
2949
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
30 chmod a+rx '$(1)/configure' |
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
31 cd '$(1)/.build' && '$(1)/configure' \ |
3017
107fb7f1202f
set F77 on configure command line for arpack, fftw, and qrupdate packages
John W. Eaton <jwe@octave.org>
parents:
3015
diff
changeset
|
32 F77=$(MXE_F77) \ |
3037
db56fbc06742
qrupdate: include CONFIGURE_LDFLAGS in the list of configure options
John W. Eaton <jwe@octave.org>
parents:
3017
diff
changeset
|
33 $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
34 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3326
4ec93c2c211c
* src/qrupdate.mk: Add ENABLE_SHARED_OR_STATIC to configure command.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3293
diff
changeset
|
35 $(ENABLE_SHARED_OR_STATIC) \ |
3015
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
36 --prefix='$(HOST_PREFIX)' \ |
4304
0db33a326eec
make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents:
3545
diff
changeset
|
37 $($(PKG)_ENABLE_FORTRAN_INT64_CONFIGURE_OPTIONS) \ |
0db33a326eec
make --enable-64 the default
John W. Eaton <jwe@octave.org>
parents:
3545
diff
changeset
|
38 && $(CONFIGURE_POST_HOOK) |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 |
4741
35464f52609a
allow qrupdate to build without separate xerbla lib
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
40 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' \ |
35464f52609a
allow qrupdate to build without separate xerbla lib
John W. Eaton <jwe@octave.org>
parents:
4304
diff
changeset
|
41 $($(PKG)_XERBLA_LIB_MAKE_OPTION) install DESTDIR='$(3)' |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
42 endef |