annotate src/mpc.mk @ 6361:c7c04c1e8b0e

* src/of-symbolic.mk: update to v3.0.1
author John Donoghue <john.donoghue@ieee.org>
date Thu, 11 Aug 2022 10:11:28 -0400
parents c8084b89a340
children 7802098327ff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3503
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := mpc
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
6154
c8084b89a340 * src/gcc-mpc.mk, src/mpc.mk: update to v1.2.1
John Donoghue <john.donoghue@ieee.org>
parents: 4899
diff changeset
6 $(PKG)_VERSION := 1.2.1
c8084b89a340 * src/gcc-mpc.mk, src/mpc.mk: update to v1.2.1
John Donoghue <john.donoghue@ieee.org>
parents: 4899
diff changeset
7 $(PKG)_CHECKSUM := 2a4919abf445c6eda4e120cd669b8733ce337227
3503
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := mpc-$($(PKG)_VERSION)
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := mpc-$($(PKG)_VERSION).tar.gz
4899
3a4b30ff1446 mpc: update to v1.1.0
John Donoghue
parents: 3503
diff changeset
10 $(PKG)_URL := https://ftp.gnu.org/gnu/mpc/$($(PKG)_FILE)
3503
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS := build-gcc gmp mpfr
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
4899
3a4b30ff1446 mpc: update to v1.1.0
John Donoghue
parents: 3503
diff changeset
14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/$(PKG)/?C=M;O=D' | \
3a4b30ff1446 mpc: update to v1.1.0
John Donoghue
parents: 3503
diff changeset
15 $(SED) -n 's,.*<a href="$(PKG)-\([0-9][^"]*\)\.tar.*,\1,p' | \
3503
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 head -1
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 endef
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 define $(PKG)_BUILD
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 cd '$(1)' && ./configure \
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 --host='$(TARGET)' \
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(ENABLE_SHARED_OR_STATIC) \
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 --prefix='$(HOST_PREFIX)' \
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 --with-gmp='$(HOST_PREFIX)/' \
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 --with-mpfr='$(HOST_PREFIX)/'
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)'
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install
2299b6639060 add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 endef