# -*-makefile-*- # $Id$ # # Copyright (C) 2006 by Erwin Rol # # 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_CMAKE) += host-cmake # # Paths and names # HOST_CMAKE_VERSION := 2.6.3 HOST_CMAKE := cmake-$(HOST_CMAKE_VERSION) HOST_CMAKE_SUFFIX := tar.gz HOST_CMAKE_URL := http://www.cmake.org/files/v2.6/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX) HOST_CMAKE_SOURCE := $(SRCDIR)/$(HOST_CMAKE).$(HOST_CMAKE_SUFFIX) HOST_CMAKE_DIR := $(HOST_BUILDDIR)/$(HOST_CMAKE) # ---------------------------------------------------------------------------- # Get # ---------------------------------------------------------------------------- $(HOST_CMAKE_SOURCE): @$(call targetinfo) @$(call get, HOST_CMAKE) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOST_CMAKE_PATH := PATH=$(HOST_PATH) HOST_CMAKE_ENV := $(HOST_ENV) # # autoconf # HOST_CMAKE_AUTOCONF := $(HOST_AUTOCONF) # ---------------------------------------------------------------------------- # Clean # ---------------------------------------------------------------------------- host-cmake_clean: rm -rf $(STATEDIR)/host-cmake.* rm -rf $(HOST_CMAKE_DIR) # vim: syntax=make