commit 6afa7989580ff10b2d3a0ab44cf42f77e8a3470d
parent 0fd914ae0fa20df5ae9e140ace9383a50320f740
Author: Jeffery To <jeffery.to@gmail.com>
Date: Mon, 16 Nov 2015 16:54:24 +0800
python-ply: added Build/InstallDev section
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git 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))