python-ply: added Build/InstallDev section
authorJeffery To <jeffery.to@gmail.com>
Mon, 16 Nov 2015 08:54:24 +0000 (16:54 +0800)
committerJeffery To <jeffery.to@gmail.com>
Mon, 16 Nov 2015 08:54:24 +0000 (16:54 +0800)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python-ply/Makefile

index 8a6863ab35fa7bdc63bf42f94acb805322101951..3e8792c806f7329b71d37b0d09fb0592dca9e053 100644 (file)
@@ -42,5 +42,12 @@ define Build/Compile
        $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
 endef
 
+define Build/InstallDev
+       $(INSTALL_DIR) $(PYTHON_LIB_DIR)/site-packages
+       $(CP) \
+               $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+               $(PYTHON_LIB_DIR)/site-packages
+endef
+
 $(eval $(call PyPackage,python-ply))
 $(eval $(call BuildPackage,python-ply))