From: Yegor Yefremov Date: Wed, 4 Jan 2012 11:30:04 +0000 (+0100) Subject: New package: python-distutilscross X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e64b34e957522c355ed77f6356666862c99a1b96;p=buildroot.git New package: python-distutilscross Signed-off-by: Yegor Yefremov Signed-off-by: Peter Korsgaard --- diff --git a/package/python-distutilscross/python-distutilscross.mk b/package/python-distutilscross/python-distutilscross.mk new file mode 100644 index 0000000000..9003189d1f --- /dev/null +++ b/package/python-distutilscross/python-distutilscross.mk @@ -0,0 +1,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 $(call GENTARGETS,host))