Mercurial > mxe-octave
annotate src/qrupdate.mk @ 2996:446aa596bb99
use autoreconf in qrupdate build
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 26 May 2013 13:32:22 -0400 |
parents | e94cce61e308 |
children | 100e618349f7 |
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 |
2996
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
18 mkdir '$(1)/.build' |
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
19 touch '$(1)/NEWS' '$(1)/AUTHORS' |
446aa596bb99
use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents:
2949
diff
changeset
|
20 cd '$(1)' && autoreconf -W none |
2949
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
21 chmod a+rx '$(1)/configure' |
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
22 cd '$(1)/.build' && '$(1)/configure' \ |
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
23 --host='$(TARGET)' \ |
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
24 --build="`config.guess`" \ |
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
25 --prefix='$(PREFIX)/$(TARGET)' |
2872
eb2f17fbd971
Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
2949
e94cce61e308
use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents:
2876
diff
changeset
|
27 $(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
|
28 endef |