kivy-ios/recipes/cymunk/__init__.py

28 lines
604 B
Python
Raw Normal View History

2018-05-23 18:25:52 +02:00
"""
Author: Lawrence Du, Lukasz Mach
E-mail: larrydu88@gmail.com, maho@pagema.net
2018-05-23 18:25:52 +02:00
"""
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()