Mercurial > mxe-octave
annotate src/qrupdate.mk @ 3037:db56fbc06742
qrupdate: include CONFIGURE_LDFLAGS in the list of configure options
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 10 Jun 2013 08:52:10 -0400 |
parents | 107fb7f1202f |
children | 121b54e000ed |
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 := |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 $(PKG)_CHECKSUM := f7403b646ace20f4a2b080b4933a1e9152fac526 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_FILE := qrupdate-$($(PKG)_VERSION).tar.gz |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE) |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_DEPS := blas lapack |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 |
3015
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
12 ifeq ($(ENABLE_64),yes) |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
13 $(PKG)_ENABLE_64_CONFIGURE_OPTIONS := FFLAGS="-g -O2 -fdefault-integer-8" |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
14 endif |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
15 |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 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
|
18 echo $(qrupdate_VERSION) |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 endef |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
2996
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
22 mkdir '$(1)/.build' |
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
23 touch '$(1)/NEWS' '$(1)/AUTHORS' |
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
24 cd '$(1)' && autoreconf -W none |
2949
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
25 chmod a+rx '$(1)/configure' |
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
26 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
|
27 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
|
28 $(CONFIGURE_LDFLAGS) \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3015
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
30 --prefix='$(HOST_PREFIX)' \ |
ec6f91539788
initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
31 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
2949
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
33 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
34 endef |