Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'cocos2d' | ||
s.license = 'MIT' | ||
s.version = '2.1-rc2' | ||
s.summary = 'cocos2d for iPhone is a framework for building 2D games, demos, and other graphical/interactive applications.' | ||
s.description = 'cocos2d for iPhone is a framework for building 2D games, demos, and other graphical/interactive applications for iPod Touch, iPhone, iPad and Mac. It is based on the cocos2d design but instead of using python it, uses objective-c.' | ||
s.homepage = 'http://www.cocos2d-iphone.org' | ||
s.author = { 'Ricardo Quesada' => 'ricardoquesada@gmail.com', 'Zynga Inc.' => 'https://zynga.com/' } | ||
s.source = {:git => 'https://github.com/cocos2d/cocos2d-iphone.git', :tag => 'release-2.1-rc2'} | ||
|
||
s.source_files = 'cocos2d/**/*.{h,m,c}', 'CocosDenshion/*.{h,m}', | ||
'external/libpng/*.{h,c}', 'external/kazmath/src/**/*.{c,h}', 'external/kazmath/include/**/*.{c,h}' | ||
s.exclude_files = 'external/libpng/pngtest.c', 'external/libpng/example.c' | ||
|
||
s.xcconfig = { | ||
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/cocos2d/external/kazmath/include"' | ||
} | ||
s.frameworks = ["OpenGLES", "OpenAL", "AVFoundation", "AudioToolbox", "QuartzCore", "GameKit", "CoreText"] | ||
s.library = 'z' | ||
|
||
s.header_mappings_dir = 'cocos2d' | ||
end |