Skip to content

Instantly share code, notes, and snippets.

@iragsdale
Last active August 29, 2015 14:28
Show Gist options
  • Save iragsdale/4b72f10a6c2bf2c36c8d to your computer and use it in GitHub Desktop.
Save iragsdale/4b72f10a6c2bf2c36c8d to your computer and use it in GitHub Desktop.
Cocoapods-4061
> pod --version
0.38.2

> cat Podfile
platform :ios, "8.0"
xcodeproj 'Boxer/Boxer.xcodeproj'

inhibit_all_warnings!

pod 'sasl', :podspec => "sasl.podspec"

> cat sasl.podspec 
Pod::Spec.new do |s|
  s.name     = 'sasl'
  s.version  = '2.1.26'
  s.license  = 'BSD'
  s.summary  = 'Cyrus SASL Library.'
  s.homepage = 'http://asg.web.cmu.edu/sasl/sasl-implementations.html'
  s.authors  = 'Carnegie Mellon University'
  s.source       = { :http => "http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.25.tar.gz" }
  s.source_files = "include/*.h","lib/*.{h,c}", "plugins/{anonymouspec.c,anonymous_init.c,cram.c,crammd5_init.c,login.c,login_init.c,plain.c,plain_init.c,plugin_common.c,plugin_common.h,digestmd5.c,digestmd5.h}", "config.h"
  s.public_header_files = "include/*.h", "plugins/*.h"
  s.header_dir = 'saslbro'
  s.exclude_files = "lib/{getaddrinfo.c,getnameinfo.c,windlopen.c}"
  s.requires_arc = false
  s.prepare_command = "        if [ -e 'configure' ]\n        then\n          ./configure --disable-gssapi\n          sed 's/WITH_DES/WITHOUT_DES/' < config.h > config.h.new \n          mv config.h.new config.h \n        fi\n"
end

screen shot 2015-08-24 at 11 07 11 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment