Permalink
Browse files

Merge pull request #951 from michaelnisi/9d33c2a44980ca6e077ed0610f2d…

…3e6d8eb41ba7

Add YAJL
  • Loading branch information...
2 parents 25c3f34 + 6ff3121 commit d039721858183f6cae8bf95cfbb6ce5aa9ac0911 @orta orta committed Dec 30, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 yajl/2.0.4/yajl.podspec
View
@@ -0,0 +1,20 @@
+Pod::Spec.new do |s|
+ s.name = 'yajl'
+ s.version = '2.0.4'
+ s.license = 'ISC'
+ s.summary = 'Yet Another JSON Library - A Portable JSON parsing and serialization library in ANSI C.'
+ s.homepage = 'http://lloyd.github.com/yajl/'
+ s.authors = {'Lloyd Hilaiel' => 'lloyd@hilaiel.com'}
+ s.source = { :git => 'https://github.com/lloyd/yajl.git', :tag => '2.0.4' }
+ s.source_files = 'src/*.{h,c}', 'build/yajl-2.0.4/include/yajl'
+ s.preserve_paths = '**/*'
+ def s.pre_install(pod, target)
+ Dir.chdir(pod.root) do
+ system('./configure')
+ system('mv COPYING LICENSE')
+ end
+ end
+end
+
+
+

0 comments on commit d039721

Please sign in to comment.