blob: ab6c0be72e632a75e07760e71aa29dbeed90d0d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#############################################################
#
# python-distutilscross
#
#############################################################
PYTHON_DISTUTILSCROSS_VERSION = 0.1
PYTHON_DISTUTILSCROSS_SOURCE = distutilscross-$(PYTHON_DISTUTILSCROSS_VERSION).tar.gz
PYTHON_DISTUTILSCROSS_SITE = http://pypi.python.org/packages/source/d/distutilscross
HOST_PYTHON_DISTUTILSCROSS_DEPENDENCIES = host-python host-python-setuptools
define HOST_PYTHON_DISTUTILSCROSS_BUILD_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
endef
define HOST_PYTHON_DISTUTILSCROSS_INSTALL_CMDS
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(HOST_DIR)/usr)
endef
$(eval $(host-generic-package))
|