Hi,
I'm trying to install django-socketio on my TP-link TL-MR3020 with Barrier Breaker on it.
The package depends on greenlet and on gevent.
Both packages seem to rely on C libraries. So the installation of django-socketio fails due to some cc_cache error.
I tried to cross compile packages for greenlet and gevent, but the created ipk files always fail to install...
I'm not very familiar with cross-compiling.
Can anyone give some advise?
PS: Unfornatelly, I had to remove all links. Therefore the pypi link in the makefile is missing
Here is a makefile for greenlet:
include $(TOPDIR)/rules.mk
PKG_NAME:=greenlet
PKG_VERSION:=0.4.12
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_SOURCE:=greenlet-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=
PKG_BUILD_DIR:=$(BUILD_DIR)/greenlet-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=python
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)
define Package/greenlet
SUBMENU:=Python
SECTION:=language-python
CATEGORY:=Languages
TITLE:=greenlet
URL:=
DEPENDS:=+python
endef
define Package/greenlet/description
Some text...
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix="$(PKG_INSTALL_DIR)/usr")
endef
define Package/greenlet/install
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)/usr/* \
$(1)/usr/
endef
$(eval $(call BuildPackage,greenlet))
Thanks for helping