python-setuptools: use $(PYTHON_PKG_DIR) short-hand
authorAlexandru Ardelean <aa@ocedo.com>
Tue, 16 Dec 2014 10:41:14 +0000 (12:41 +0200)
committerAlexandru Ardelean <aa@ocedo.com>
Tue, 6 Jan 2015 12:21:36 +0000 (14:21 +0200)
Signed-off-by: Xuefer Tinys <xuefer@gmail.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python-setuptools/Makefile

index 0511791a77b3f6a951e264530e118bd2c5f2638e..6c5cba8df82c9f43be98aba21b075f94abba44f8 100644 (file)
@@ -44,10 +44,10 @@ define PyPackage/python-setuptools/filespec
 endef
 
 define Build/InstallDev
-       $(INSTALL_DIR) $(2)/lib/python$(PYTHON_VERSION)/site-packages
+       $(INSTALL_DIR) $(2)$(PYTHON_PKG_DIR)
        $(CP) \
-               $(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
-               $(HOST_PYTHON_LIB_DIR)/site-packages
+               $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR) \
+               $(2)$(PYTHON_PKG_DIR)
 endef
 
 define PyPackage/python-setuptools/install