Mercurial > mxe-octave
annotate src/qrupdate.mk @ 2872:eb2f17fbd971
Include qrupdate as a dependency of Octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 28 Nov 2012 15:26:38 -0500 |
parents | |
children | c766e4afd493 |
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 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 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
|
14 echo $(qrupdate_VERSION) |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 endef |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 define $(PKG)_BUILD |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 $(MAKE) FC=$(TARGET)-gfortran AR=$(TARGET)-ar PREFIX=$(PREFIX)/$(TARGET) -C '$(1)' -j '$(JOBS)' lib install-staticlib |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 if [ $(BUILD_SHARED) = yes ]; then \ |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 $(MAKE_SHARED_FROM_STATIC) --ar '$(TARGET)-ar' --ld '$(TARGET)-gfortran' '$(1)/libqrupdate.a' -llapack -lblas; \ |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 $(INSTALL) -d '$(PREFIX)/$(TARGET)/bin'; \ |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 $(INSTALL) -m644 '$(1)/libqrupdate.dll.a' '$(PREFIX)/$(TARGET)/lib/libqrupdate.dll.a'; \ |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 $(INSTALL) -m644 '$(1)/libqrupdate.dll' '$(PREFIX)/$(TARGET)/bin/libqrupdate.dll'; \ |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 fi |
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 endef |