<s> from toolchain import Recipe , shprint <EOL> import sh <EOL> class LibSDL2Recipe ( Recipe ) : <EOL> version = "<STR_LIT>" <EOL> url = "<STR_LIT>" <EOL> library = "<STR_LIT>" <EOL> include_dir = "<STR_LIT>" <EOL> pbx_frameworks = [ "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" ] <EOL> def prebuild_arch ( self , arch ) : <EOL> if self . has_marker ( "<STR_LIT>" ) : <EOL> return <EOL> self . apply_patch ( "<STR_LIT>" ) <EOL> self . set_marker ( "<STR_LIT>" ) <EOL> def build_arch ( self , arch ) : <EOL> env = arch . get_env ( ) <EOL> shprint ( sh . xcodebuild , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" . format ( arch . arch ) , <EOL> "<STR_LIT>" . format ( env [ '<STR_LIT>' ] ) , <EOL> "<STR_LIT>" , arch . sdk , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT>" ) <EOL> recipe = LibSDL2Recipe ( ) </s>
