package-ply: use given path instead of copying directly into staging_dir

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2015-11-16 19:52:40 +08:00
parent 6afa798958
commit d9409e25cc
1 changed files with 2 additions and 2 deletions

View File

@ -43,10 +43,10 @@ define Build/Compile
endef endef
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(PYTHON_LIB_DIR)/site-packages $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \ $(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(PYTHON_LIB_DIR)/site-packages $(1)$(PYTHON_PKG_DIR)
endef endef
$(eval $(call PyPackage,python-ply)) $(eval $(call PyPackage,python-ply))