1fc58cb392
* - recipe which make cymunk build (but doesn't work) * - cymunk not only builds, but also can be imported * - python3=>python in cymunk recipe * - and even single ['python']
27 lines
604 B
Python
27 lines
604 B
Python
"""
|
|
Author: Lawrence Du, Lukasz Mach
|
|
E-mail: larrydu88@gmail.com, maho@pagema.net
|
|
"""
|
|
|
|
from toolchain import CythonRecipe,shprint
|
|
import os
|
|
from os.path import join
|
|
import sh
|
|
|
|
|
|
class CymunkRecipe(CythonRecipe):
|
|
version = 'master'
|
|
url = 'https://github.com/kivy/cymunk/archive/{version}.zip'
|
|
name = 'cymunk'
|
|
pre_build_ext = True
|
|
library = 'libcymunk.a'
|
|
|
|
depends = ['python']
|
|
|
|
def get_recipe_env(self, arch):
|
|
ret = super(CymunkRecipe, self).get_recipe_env(arch)
|
|
ret['CFLAGS'] += ' -Wno-implicit-function-declaration'
|
|
return ret
|
|
|
|
|
|
recipe = CymunkRecipe()
|