Mercurial > mxe-octave
annotate src/mpc.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | 3a4b30ff1446 |
children | c8084b89a340 |
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 := |
4899 | 6 $(PKG)_VERSION := 1.1.0 |
7 $(PKG)_CHECKSUM := b019d9e1d27ec5fb99497159d43a3164995de2d0 | |
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 | 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 | 14 $(WGET) -q -O- 'http://ftp.gnu.org/gnu/$(PKG)/?C=M;O=D' | \ |
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 |