python-ply: added Build/InstallDev section

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2015-11-16 16:54:24 +08:00
parent 0fd914ae0f
commit 6afa798958

View 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))