2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=Cython-
$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=http
://www.cython.org
/
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Cython-
$(PKG_VERSION
)
17 PKG_BUILD_DEPENDS
:=python
19 include $(INCLUDE_DIR
)/package.mk
20 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/python-package.mk
)
27 URL
:=http
://www.cython.org
31 define Package
/cython
/description
32 Cython is a language that should make writing C extensions for the Python language easier
36 # <--no-cython-compile> required, otherwise setup.py calls the target-gcc to create so-files which obviously can't be used by <python> on the host system.
37 $(call Build
/Compile
/PyMod
,,install --no-cython-compile
--prefix="$(PKG_INSTALL_DIR)/usr")
40 define Build
/InstallDev
41 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
43 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
47 $(eval
$(call BuildPackage
,cython
))