pytz: add package/InstallDev
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 31 Oct 2018 10:54:27 +0000 (07:54 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 31 Oct 2018 11:01:40 +0000 (08:01 -0300)
Building would not work for packages that depended on this when the
build directory was deleted after compiled, so they failed when
BUILDBOT=y.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lang/python/pytz/Makefile

index b5b52bc3896b5ad78d82464a0b63a55ebc9c48af..fc51478f002bd6ef3ccc5fc186da3b79d3e11338 100644 (file)
@@ -37,6 +37,13 @@ define Build/Compile
        $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
 endef
 
+define Package/pytz/InstallDev
+       $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
+       $(CP) \
+           $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
+           $(1)$(PYTHON_PKG_DIR)
+endef
+
 define Package/pytz/install
        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
        $(CP) \