Skip to content
Browse files

Merge pull request #3068 from dinhviethoa/libsasl2-podspec

Added libsasl2 podspec.
  • Loading branch information...
2 parents 82b2c3f + 3d04ba2 commit fff07c2a4752ce321a3c5b51c48574213a372750 @keith keith committed Jul 20, 2013
Showing with 22 additions and 0 deletions.
  1. +22 −0 libsasl2/2.1.25/libsasl2.podspec
View
22 libsasl2/2.1.25/libsasl2.podspec
@@ -0,0 +1,22 @@
+Pod::Spec.new do |s|
+ s.name = 'libsasl2'
+ s.version = '2.1.25'
+ s.summary = 'Cyrus SASL Library.'
+ s.license = { :type => 'BSD', :file => 'COPYRIGHT' }
+ s.author = 'Carnegie Mellon University'
+ s.homepage = 'http://asg.web.cmu.edu/sasl/sasl-implementations.html'
+ s.source = { :http => 'http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.25.tar.gz' }
+ s.header_dir = 'sasl'
+ s.source_files = 'lib/*.{h,c}', 'plugins/{anonymous.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}', 'include/*.h', 'config.h'
+ s.exclude_files = 'lib/{getaddrinfo.c,getnameinfo.c,windlopen.c}'
+ s.public_header_files = 'include/*.h'
+ s.xcconfig = {
+ 'USE_HEADERMAP' => 'NO',
+ }
+
+ def s.pre_install (pod, lib)
+ Dir.chdir(pod.root) do
+ `./configure --disable-gssapi`
+ end
+ end
+end

0 comments on commit fff07c2

Please sign in to comment.
Something went wrong with that request. Please try again.