Permalink
Browse files

[Fix] libetpan

  • Loading branch information...
1 parent fb19d9d commit 9859745e7924ba3e7454c682c4c1190eaca13150 @fabiopelosin fabiopelosin committed Mar 21, 2013
Showing with 10 additions and 1 deletion.
  1. +10 −1 libetpan/0.0.1/libetpan.podspec
@@ -8,5 +8,14 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/dinhviethoa/libetpan.git', :commit => 'c21e0f180fcc099965b48558108a1dd03b9682a3' }
s.ios.deployment_target = '4.0'
s.osx.deployment_target = '10.6'
- s.source_files = 'include', 'src/**/*.{h,m}'
+ s.source_files = '*.h', 'include/**/*.{h}', 'src/**/*.{h,m}'
+ # TODO this lib is supported also on ios but the hook needs to be adjusted
+ s.platform = :osx
+
+ def s.pre_install (pod, _)
+ Dir.chdir(pod.root + 'build-mac') do
+ `SRCROOT='true' sh update.sh`
+ raise "[!] Failed pre install hook" unless $?.to_i == 0
+ end
+ end
end

0 comments on commit 9859745

Please sign in to comment.