mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
756 B
Makefile
22 lines
756 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|