# -*-makefile-*- # # Copyright (C) 2014 by Alexander Aring # # 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_CYTHON) += host-cython # # Paths and names # HOST_CYTHON_VERSION := 0.20.1 HOST_CYTHON_MD5 := 52431696c64e618036537c4d9aa79d99 HOST_CYTHON := Cython-$(HOST_CYTHON_VERSION) HOST_CYTHON_SUFFIX := tar.gz HOST_CYTHON_URL := http://cython.org/release/$(HOST_CYTHON).$(HOST_CYTHON_SUFFIX) HOST_CYTHON_SOURCE := $(SRCDIR)/$(HOST_CYTHON).$(HOST_CYTHON_SUFFIX) HOST_CYTHON_DIR := $(HOST_BUILDDIR)/$(HOST_CYTHON) HOST_CYTHON_LICENSE := APLv2 # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- HOST_CYTHON_PATH := PATH=$(HOST_PATH) HOST_CYTHON_CONF_TOOL := NO $(STATEDIR)/host-cython.compile: @$(call targetinfo) @cd $(HOST_CYTHON_DIR) && \ python2 setup.py build @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- $(STATEDIR)/host-cython.install: @$(call targetinfo) @cd $(HOST_CYTHON_DIR) && \ python2 setup.py install --root=$(HOST_CYTHON_PKGDIR) --prefix= @$(call touch) # vim: syntax=make