Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
2871:b7c77abd9273 | 2872:eb2f17fbd971 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := qrupdate | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := f7403b646ace20f4a2b080b4933a1e9152fac526 | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := qrupdate-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://sourceforge.net/projects/qrupdate/files/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := blas lapack | |
11 | |
12 define $(PKG)_UPDATE | |
13 echo 'Warning: Updates are temporarily disabled for package qrupdate.' >&2; | |
14 echo $(qrupdate_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 $(MAKE) FC=$(TARGET)-gfortran AR=$(TARGET)-ar PREFIX=$(PREFIX)/$(TARGET) -C '$(1)' -j '$(JOBS)' lib install-staticlib | |
19 | |
20 if [ $(BUILD_SHARED) = yes ]; then \ | |
21 $(MAKE_SHARED_FROM_STATIC) --ar '$(TARGET)-ar' --ld '$(TARGET)-gfortran' '$(1)/libqrupdate.a' -llapack -lblas; \ | |
22 $(INSTALL) -d '$(PREFIX)/$(TARGET)/bin'; \ | |
23 $(INSTALL) -m644 '$(1)/libqrupdate.dll.a' '$(PREFIX)/$(TARGET)/lib/libqrupdate.dll.a'; \ | |
24 $(INSTALL) -m644 '$(1)/libqrupdate.dll' '$(PREFIX)/$(TARGET)/bin/libqrupdate.dll'; \ | |
25 fi | |
26 endef |