mxe/src/gcc-mpfr.mk

29 lines
705 B
Makefile
Raw Normal View History

2012-03-28 14:46:58 +01:00
# This file is part of MXE.
2012-03-29 11:14:15 +01:00
# See index.html for further information.
2009-02-03 00:57:06 +00:00
PKG := gcc-mpfr
2011-10-23 03:37:14 +01:00
$(PKG)_IGNORE = $(mpfr_IGNORE)
$(PKG)_VERSION = $(mpfr_VERSION)
2011-10-23 03:37:14 +01:00
$(PKG)_CHECKSUM = $(mpfr_CHECKSUM)
$(PKG)_SUBDIR = $(mpfr_SUBDIR)
$(PKG)_FILE = $(mpfr_FILE)
$(PKG)_URL = $(mpfr_URL)
$(PKG)_URL_2 = $(mpfr_URL_2)
$(PKG)_DEPS := gcc-gmp
2009-02-03 00:57:06 +00:00
define $(PKG)_UPDATE
2011-10-23 03:37:14 +01:00
echo $(mpfr_VERSION)
2009-02-03 00:57:06 +00:00
endef
define $(PKG)_BUILD
mkdir '$(1).build'
cd '$(1).build' && '$(1)/configure' \
--prefix='$(PREFIX)' \
--disable-shared \
--with-gmp='$(PREFIX)'
$(MAKE) -C '$(1).build' -j '$(JOBS)'
$(MAKE) -C '$(1).build' -j 1 install
endef
$(PKG)_BUILD_$(BUILD) =