# -*-makefile-*- # # Copyright (C) 2007-2008 by Marc Kleine-Budde # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # HOST_PACKAGES-$(PTXCONF_HOST_GMP) += host-gmp # # Paths and names # HOST_GMP_VERSION := 5.0.5 HOST_GMP_MD5 := 041487d25e9c230b0c42b106361055fe HOST_GMP := gmp-$(HOST_GMP_VERSION) HOST_GMP_SUFFIX := tar.bz2 HOST_GMP_URL := $(call ptx/mirror, GNU, gmp/$(HOST_GMP).$(HOST_GMP_SUFFIX)) HOST_GMP_SOURCE := $(SRCDIR)/$(HOST_GMP).$(HOST_GMP_SUFFIX) HOST_GMP_DIR := $(HOST_BUILDDIR)/$(HOST_GMP) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(HOST_GMP_SOURCE): @$(call targetinfo) @$(call get, HOST_GMP) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOST_GMP_PATH := PATH=$(HOST_PATH) HOST_GMP_ENV := $(PTX_HOST_ENV) HOST_GMP_DEVPKG := NO # # autoconf # HOST_GMP_AUTOCONF := \ $(PTX_HOST_AUTOCONF) \ --disable-shared \ --enable-static # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- host-gmp_clean: rm -rf $(STATEDIR)/host-gmp.* rm -rf $(HOST_GMP_DIR) # vim: syntax=make