annotate src/qrupdate.mk @ 3293:cf6f40cededb

Support file list generation in packages. For the following modules: - arpack - blas - build-autoconf - build-automake - build-cmake - build-gperf - build-libtool - build-msvctools - build-pkg-config - build-texinfo - bzip2 - curl - dbus - expat - fftw - fltk - fontconfig - freetype - gettext - glpk - gmp - gnuplot - gnutls - graphicsmagick - hdf5 - jasper - jpeg - lapack - lcms - libgcrypt - libgpg_error - libiconv - libidn - libpng - libssh2 - libxml2 - ncurses - nettle - openssl - pcre - pstoedit - zlib - qhull - qrupdate - qscintilla - qt - readline - suitesparse - texinfo - tiff
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 09 Nov 2013 23:28:04 -0500
parents 4a5961b103e2
children 4ec93c2c211c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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)
3169
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
10 ifeq ($(ENABLE_OPENBLAS),yes)
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
11 $(PKG)_DEPS := openblas lapack
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
12 else
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
13 $(PKG)_DEPS := blas lapack
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
14 endif
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
15
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
16 ifeq ($(ENABLE_OPENBLAS),yes)
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
17 $(PKG)_BLAS_OPTION := --with-blas=openblas
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
18 endif
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
20 ifeq ($(ENABLE_64),yes)
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
21 $(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
22 endif
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
23
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 define $(PKG)_UPDATE
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 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
26 echo $(qrupdate_VERSION)
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endef
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 define $(PKG)_BUILD
2996
446aa596bb99 use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents: 2949
diff changeset
30 mkdir '$(1)/.build'
446aa596bb99 use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents: 2949
diff changeset
31 touch '$(1)/NEWS' '$(1)/AUTHORS'
446aa596bb99 use autoreconf in qrupdate build
John W. Eaton <jwe@octave.org>
parents: 2949
diff changeset
32 cd '$(1)' && autoreconf -W none
2949
e94cce61e308 use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
33 chmod a+rx '$(1)/configure'
e94cce61e308 use automake and libtool for qrupdate
John W. Eaton <jwe@octave.org>
parents: 2876
diff changeset
34 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
35 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
36 $(CONFIGURE_LDFLAGS) \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
37 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3015
ec6f91539788 initial support for --enable-64
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
38 --prefix='$(HOST_PREFIX)' \
3169
4a5961b103e2 Add openblas option to qrupdate build
John Donoghue <john.donoghue@ieee.org>
parents: 3094
diff changeset
39 $($(PKG)_BLAS_OPTION) \
3094
121b54e000ed [MSVC] enable qrupdate compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3037
diff changeset
40 $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) && $(CONFIGURE_POST_HOOK)
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41
3293
cf6f40cededb Support file list generation in packages.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 3169
diff changeset
42 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
2872
eb2f17fbd971 Include qrupdate as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 endef