annotate src/gcc-mpc.mk @ 4569:32c1fd6aef7f

lcms: update to v2.9 * src/lcms.mk: update version, checksum * src/lcms-1-fixes.patch: updated patch
author John D
date Mon, 04 Dec 2017 16:47:54 -0500
parents c7285e784532
children 3a4b30ff1446
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1735
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.
922
7491ac97c72e upgrade package gcc to GCC 4.5, switching back from TDM to MinGW (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
7491ac97c72e upgrade package gcc to GCC 4.5, switching back from TDM to MinGW (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := gcc-mpc
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 := 1.0.2
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
7 $(PKG)_CHECKSUM := 5072d82ab50ec36cc8c0e320b5c377adb48abe70
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
8 $(PKG)_SUBDIR := mpc-$($(PKG)_VERSION)
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
9 $(PKG)_FILE := mpc-$($(PKG)_VERSION).tar.gz
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3708
diff changeset
10 $(PKG)_URL := http://www.multiprecision.org/mpc/download/$($(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://ftp.debian.org/debian/pool/main/m/mpclib/mpclib_$($(PKG)_VERSION).orig.tar.gz
3502
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
12 $(PKG)_DEPS := gcc-gmp gcc-mpfr
922
7491ac97c72e upgrade package gcc to GCC 4.5, switching back from TDM to MinGW (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13
7491ac97c72e upgrade package gcc to GCC 4.5, switching back from TDM to MinGW (by Tony Theodore)
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;
3502
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
16 echo $(mpc_VERSION)
922
7491ac97c72e upgrade package gcc to GCC 4.5, switching back from TDM to MinGW (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
3502
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
18
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
19 define $(PKG)_BUILD
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
20 mkdir '$(1).build'
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
21 cd '$(1).build' && '$(1)/configure' \
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
22 --prefix='$(BUILD_TOOLS_PREFIX)' \
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
23 --disable-shared \
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
24 --with-gmp='$(BUILD_TOOLS_PREFIX)'
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
25 $(MAKE) -C '$(1).build' -j '$(JOBS)'
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
26 $(MAKE) -C '$(1).build' -j 1 install
d667a65b0f2f update gcc dependencies
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
27 endef