python: add some Build/InstallDev rules back
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 9 Nov 2014 15:56:45 +0000 (17:56 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 9 Nov 2014 15:56:45 +0000 (17:56 +0200)
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/Makefile

index 058197688cd4121eebcdc01b64c784fc81f57bb0..38e9267f9e826fc9ae8a86d86d4d567fa5a74740 100644 (file)
@@ -107,7 +107,19 @@ Hooks/Configure/Pre+=\
 
 define Build/InstallDev
        $(INSTALL_DIR) $(STAGING_DIR)/mk/
+       $(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/
+       $(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/
        $(INSTALL_DATA) ./files/python-package.mk $(STAGING_DIR)/mk/
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
+               $(1)/usr/include/
+       $(CP) \
+               $(STAGING_DIR_HOST)/lib/python$(PYTHON_VERSION) \
+               $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* \
+               $(1)/usr/lib/
+       $(CP) \
+               $(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config \
+               $(1)/usr/lib/python$(PYTHON_VERSION)/
 endef
 
 define PyPackage/python-base/filespec