Mercurial > mxe-octave
annotate src/mpfr.mk @ 7240:d9cfd8aba366 default tip @
maint: merge release to default
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Jun 2024 18:12:11 -0400 |
parents | 0f286bf8893d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2289
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
3 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
4 PKG := mpfr |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
6966
0f286bf8893d
* src/gcc-mpfr.mk, src/mpfr.mk: update to v4.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
6881
diff
changeset
|
6 $(PKG)_VERSION := 4.2.1 |
0f286bf8893d
* src/gcc-mpfr.mk, src/mpfr.mk: update to v4.2.1
John Donoghue <john.donoghue@ieee.org>
parents:
6881
diff
changeset
|
7 $(PKG)_CHECKSUM := 31ffb4244cb469e2b4937cce1f50150300971dfb |
2028
457e41afeed7
style improvements for projects cgal eigen mpfr
Mark Brand <mabrand@mabrand.nl>
parents:
2027
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2651 | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
4938
b20c53770d87
cloog, mpfr: update download locations
John W. Eaton <jwe@octave.org>
parents:
4467
diff
changeset
|
10 $(PKG)_URL := ftp://ftp.gnu.org/gnu/mpfr/$($(PKG)_FILE) |
5822
d5ece22fd694
MPFR: Update to version 4.1.0 (bug #61008).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
5326
diff
changeset
|
11 $(PKG)_URL_2 := https://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE) |
6881
e1910fb212c4
* src/mpfr.mk: Remove dependency on build-gcc.
Markus Mützel <markus.muetzel@gmx.de>
parents:
6548
diff
changeset
|
12 $(PKG)_DEPS := gmp |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
13 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
5921
68a66a57f70f
* src/mpfr.mk: update update rule
John Donoghue <john.donoghue@ieee.org>
parents:
5822
diff
changeset
|
15 $(WGET) -q -O- 'https://www.mpfr.org/mpfr-current/' | \ |
6541
88394d81a647
* src/mpfr.mk: fix update rule
John Donoghue <john.donoghue@ieee.org>
parents:
6324
diff
changeset
|
16 $(SED) -n 's,<title>.*version \([0-9][^<]*\).*,\1,p' | \ |
4973 | 17 $(SORT) -V | \ |
18 tail -1 | |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
19 endef |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
20 |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2651
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
26 --enable-threads=win32 \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
27 --with-gmp-include='$(HOST_INCDIR)' |
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
28 --with-gmp-lib='$(HOST_LIBDIR)' |
6324
6c9d803d4a83
* src/mpfr.mk: remove docs
John Donoghue <john.donoghue@ieee.org>
parents:
5921
diff
changeset
|
29 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_DOCS) |
6c9d803d4a83
* src/mpfr.mk: remove docs
John Donoghue <john.donoghue@ieee.org>
parents:
5921
diff
changeset
|
30 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_DOCS) install DESTDIR='$(3)' |
6c9d803d4a83
* src/mpfr.mk: remove docs
John Donoghue <john.donoghue@ieee.org>
parents:
5921
diff
changeset
|
31 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ |
6c9d803d4a83
* src/mpfr.mk: remove docs
John Donoghue <john.donoghue@ieee.org>
parents:
5921
diff
changeset
|
32 rm -rf "$(3)$(HOST_PREFIX)/share/doc/mpfr"; \ |
6c9d803d4a83
* src/mpfr.mk: remove docs
John Donoghue <john.donoghue@ieee.org>
parents:
5921
diff
changeset
|
33 fi |
2027
f1f62183852e
new packages cgal eigen mpfr
Brad Pitcher <bradpitcher@gmail.com>
parents:
diff
changeset
|
34 endef |