Mercurial > mxe-octave
comparison src/gcc-mpc.mk @ 3502:d667a65b0f2f
update gcc dependencies
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Feb 2014 15:25:39 -0500 |
parents | 13be64f9f16d |
children | d95b8b84cea7 |
comparison
equal
deleted
inserted
replaced
3501:33b776056ec1 | 3502:d667a65b0f2f |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := gcc-mpc | 4 PKG := gcc-mpc |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE = $(mpc_IGNORE) |
6 $(PKG)_VERSION := 1.0.1 | 6 $(PKG)_VERSION = $(mpc_VERSION) |
7 $(PKG)_CHECKSUM := 8c7e19ad0dd9b3b5cc652273403423d6cf0c5edf | 7 $(PKG)_CHECKSUM = $(mpc_CHECKSUM) |
8 $(PKG)_SUBDIR := mpc-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR = $(mpc_SUBDIR) |
9 $(PKG)_FILE := mpc-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE = $(mpc_FILE) |
10 $(PKG)_URL := http://www.multiprecision.org/mpc/download/$($(PKG)_FILE) | 10 $(PKG)_URL = $(mpc_URL) |
11 $(PKG)_URL_2 := http://ftp.debian.org/debian/pool/main/m/mpclib/mpclib_$($(PKG)_VERSION).orig.tar.gz | 11 $(PKG)_URL_2 = $(mpc_URL_2) |
12 $(PKG)_DEPS := | 12 $(PKG)_DEPS := gcc-gmp gcc-mpfr |
13 | 13 |
14 define $(PKG)_UPDATE | 14 define $(PKG)_UPDATE |
15 $(WGET) -q -O- 'https://gforge.inria.fr/scm/viewvc.php/tags/?root=mpc&sortby=date' | \ | 15 echo $(mpc_VERSION) |
16 $(SED) -n 's,.*<a name="\([0-9][^"]*\)".*,\1,p' | \ | |
17 head -1 | |
18 endef | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
19 mkdir '$(1).build' | |
20 cd '$(1).build' && '$(1)/configure' \ | |
21 --prefix='$(BUILD_TOOLS_PREFIX)' \ | |
22 --disable-shared \ | |
23 --with-gmp='$(BUILD_TOOLS_PREFIX)' | |
24 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
25 $(MAKE) -C '$(1).build' -j 1 install | |
26 endef |