Skip to content

Instantly share code, notes, and snippets.

@nurey
Created March 25, 2013 22:56
Show Gist options
  • Save nurey/5241622 to your computer and use it in GitHub Desktop.
Save nurey/5241622 to your computer and use it in GitHub Desktop.
Podspec for cocos2d 2.1.beta3. There's not an official podspec for this version.
Pod::Spec.new do |s|
s.name = 'cocos2d'
s.license = 'MIT'
s.version = '2.1.beta3'
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' => '[email protected]', 'Zynga Inc.' => 'https://zynga.com/' }
s.source = {:git => 'https://github.com/cocos2d/cocos2d-iphone.git', :tag => 'release-2.1-beta3'}
s.source_files = 'cocos2d/**/*.{h,m,c}', 'CocosDenshion/*.{h,m}',
FileList['external/libpng/*.{h,c}'].exclude(/pngtest.c/, /example.c/), 'external/kazmath/src/**/*.{c,h}', 'external/kazmath/include/**/*.{c,h}'
s.xcconfig = {
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/cocos2d/external/kazmath/include"'
}
s.frameworks = ["OpenGLES", "OpenAL", "AVFoundation", "AudioToolbox", "QuartzCore", "GameKit"]
s.library = 'z'
s.header_mappings_dir = 'cocos2d'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment