Mercurial > mxe-octave
annotate src/gcc-mpfr.mk @ 4676:3edbea625ba8
build-cmake: depend on build-gcc if not using system GCC
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 20 Apr 2018 13:51:05 -0400 |
parents | c7285e784532 |
children | b20c53770d87 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2035
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
408
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
266
diff
changeset
|
4 PKG := gcc-mpfr |
4474
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
5 $(PKG)_IGNORE := |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
6 $(PKG)_VERSION := 3.1.5 |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
7 $(PKG)_CHECKSUM := c0fab77c6da4cb710c81cc04092fb9bea11a9403 |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
8 $(PKG)_SUBDIR := mpfr-$($(PKG)_VERSION) |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
9 $(PKG)_FILE := mpfr-$($(PKG)_VERSION).tar.xz |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
10 $(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/$(PKG)/$($(PKG)_FILE) |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3708
diff
changeset
|
11 $(PKG)_URL_2 := http://www.mpfr.org/mpfr-$($(PKG)_VERSION)/$($(PKG)_FILE) |
3502 | 12 $(PKG)_DEPS := gcc-gmp |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 |
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
3708
d95b8b84cea7
enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents:
3502
diff
changeset
|
15 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
2035
0213fe9deb5c
consolidate metadata for mpfr packages
Tony Theodore <tonyt@logyst.com>
parents:
2010
diff
changeset
|
16 echo $(mpfr_VERSION) |
217
89ba55cd6e29
switch from MinGW GCC to TDM-GCC
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
3502 | 18 |
19 define $(PKG)_BUILD | |
20 mkdir '$(1).build' | |
21 cd '$(1).build' && '$(1)/configure' \ | |
22 --prefix='$(BUILD_TOOLS_PREFIX)' \ | |
23 --disable-shared \ | |
24 --with-gmp='$(BUILD_TOOLS_PREFIX)' | |
25 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
26 $(MAKE) -C '$(1).build' -j 1 install | |
27 endef |