From: Jeffery To Date: Mon, 16 Nov 2015 08:54:24 +0000 (+0800) Subject: python-ply: added Build/InstallDev section X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=6afa7989580ff10b2d3a0ab44cf42f77e8a3470d;p=openwrt-packages.git python-ply: added Build/InstallDev section Signed-off-by: Jeffery To --- diff --git a/lang/python-ply/Makefile b/lang/python-ply/Makefile index 8a6863ab3..3e8792c80 100644 --- a/lang/python-ply/Makefile +++ b/lang/python-ply/Makefile @@ -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))