Mercurial > mxe-octave
comparison src/gmp.mk @ 2510:8a41b8f8e79f
update package gmp
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sun, 06 May 2012 21:49:04 +0200 |
parents | b5321bdec505 |
children | 4d0f3a9da57e |
comparison
equal
deleted
inserted
replaced
2509:33366d1e2300 | 2510:8a41b8f8e79f |
---|---|
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 := gmp | 4 PKG := gmp |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_CHECKSUM := ea4ea7c3f10436ef5ae7a75b3fad163a8b86edc0 | 6 $(PKG)_CHECKSUM := 12a662456033e21aed3e318aef4177f4000afe3b |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
9 $(PKG)_URL := ftp://ftp.gmplib.org/pub/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) | 9 $(PKG)_URL := ftp://ftp.gmplib.org/pub/$(PKG)-$($(PKG)_VERSION)/$($(PKG)_FILE) |
10 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) | 10 $(PKG)_URL_2 := ftp://ftp.cs.tu-berlin.de/pub/gnu/$(PKG)/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gcc | 11 $(PKG)_DEPS := gcc |
19 endef | 19 endef |
20 | 20 |
21 define $(PKG)_BUILD | 21 define $(PKG)_BUILD |
22 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ | 22 cd '$(1)' && CC_FOR_BUILD=gcc ./configure \ |
23 --host='$(TARGET)' \ | 23 --host='$(TARGET)' \ |
24 --build="`config.guess`" \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | 25 --prefix='$(PREFIX)/$(TARGET)' \ |
25 --disable-shared \ | 26 --disable-shared \ |
26 --enable-cxx \ | 27 --enable-cxx \ |
27 --without-readline | 28 --without-readline |
28 $(MAKE) -C '$(1)' -j '$(JOBS)' | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' |