blob: 212b12d67ca8adedf01a5a056985383077fdcea2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# -*-makefile-*-
#
# Copyright (C) 2014 by Alexander Aring <aar@pengutronix.de>
#
# 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
|