Browse Source

python-setuptools: use $(PYTHON_PKG_DIR) short-hand

Signed-off-by: Xuefer Tinys <xuefer@gmail.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
16f53ee9c8
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lang/python-setuptools/Makefile

+ 3
- 3
lang/python-setuptools/Makefile View File

@ -44,10 +44,10 @@ define PyPackage/python-setuptools/filespec
endef
define Build/InstallDev
$(INSTALL_DIR) $(2)/lib/python$(PYTHON_VERSION)/site-packages
$(INSTALL_DIR) $(2)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \
$(HOST_PYTHON_LIB_DIR)/site-packages
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR) \
$(2)$(PYTHON_PKG_DIR)
endef
define PyPackage/python-setuptools/install


Loading…
Cancel
Save