Cython: cross build support.

This commit is contained in:
Juan RP 2013-08-06 09:12:47 +02:00
parent 79f677ced9
commit 9e72fcdb19
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ license="Apache-2.0"
distfiles="http://www.cython.org/release/${pkgname}-${version}.tar.gz"
checksum=2c9f2c2af9aa0519588bf941c9961a59bb8f57ee7f798db878494d1a21c07ece
if [ "$CROSS_BUILD" ]; then
hostmakedepends="${makedepends}"
fi
Cython_package() {
depends="Pyrex"
pycompile_module="pyximport Cython cython.py"