added ObjectiveGit and libgit2

This commit is contained in:
Markus Heberling
2013-02-11 01:10:57 +01:00
parent 321dbbf8f8
commit 75f13de464
3 changed files with 62 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
Pod::Spec.new do |s|
s.name = "libgit2"
s.version = "0.17.0"
s.summary = "The libgit2 Library."
s.homepage = "http://libgit2.github.com"
s.license = { :type => 'GPL v2 (with linking exception)', :file => 'COPYING' }
s.author = 'See AUTHORS file'
s.source = { :git => "https://github.com/libgit2/libgit2.git", :tag => "v0.17.0" }
s.source_files = FileList.new('deps/http-parser/*.{h,c}', 'src/**/*.{h,c}', 'include/**/*.h') do |fl|
fl.exclude('**/include/git2/inttypes.h')
fl.exclude('**/include/git2/stdint.h')
fl.exclude('**/src/win32/**')
end
s.public_header_files = 'include/**/*.h'
s.preserve_paths = 'Authors'
s.libraries = 'z'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(PODS_ROOT)/libgit2/include' }
end