diff --git a/MailCore/0.2.7/MailCore.podspec b/MailCore/0.2.7/MailCore.podspec new file mode 100644 index 000000000000000..1ff313076f6fc46 --- /dev/null +++ b/MailCore/0.2.7/MailCore.podspec @@ -0,0 +1,10 @@ +Pod::Spec.new do |s| + s.name = "MailCore" + s.version = "0.2.7" + s.summary = "A Mac/iOS framework for working with the e-mail protocols IMAP and SMTP." + s.homepage = "https://github.com/mronge/MailCore" + s.license = "BSD" + s.author = { "Matt Ronge" => "mronge@mronge.com" } + s.source = { :git => "https://github.com/mronge/MailCore.git", :tag => s.version.to_s } + s.platform = :osx +end diff --git a/iOSPorts/0.6/iOSPorts.podspec b/iOSPorts/0.6/iOSPorts.podspec new file mode 100644 index 000000000000000..1fde0275c6788cf --- /dev/null +++ b/iOSPorts/0.6/iOSPorts.podspec @@ -0,0 +1,41 @@ +Pod::Spec.new do |s| + s.name = "iOSPorts" + s.version = "0.6" + s.summary = "A collection of libraries such as OpenSSL, Cyrus SASL, OpenLDAP, and PCRE which have been ported to the iPhone/iOS platform." + s.homepage = "http://www.bindlebinaries.com/products/developer/iosports/" + s.license = 'BSD-style Open Source' + s.author = { "David M. Syzdek" => "syzdek@bindlebinaries.com" } + s.source = { :git => "https://github.com/bindle/iOSPorts.git", :tag => "v0.6" } + s.platform = :ios + s.preserve_paths = "ports", "build-aux" + s.requires_arc = false + # s.xcconfig = { 'HEADER_SEARCH_PATHS' => 'openssl openssl/include openssl/crypto', 'OTHER_LDFLAGS' => '-ObjC' } + + s.subspec 'OpenSSL' do |sp| + sp.header_dir = 'openssl' + sp.source_files = 'ports/security/openssl/openssl/*.h' + + def sp.pre_install(pod, target_definition) + Dir.chdir(pod.root + 'ports/security/openssl') do + `make` + raise "[!] Make for OpenSSL failed" unless $?.to_i == 0 + end + end + + # sp.subspec 'ssl' do |ssp| + # ssp.header_dir = 'crypto' + # # ssp.source_files = 'ports/security/openssl/openssl/ssl/**/*.{h,c}' + # ssp.dependency 'iOSPorts/OpenSSL/crypto' + # end + + sp.subspec 'crypto' do |ssp| + # ssp.header_dir = 'openssl/crypto' + ssp.source_files = [ + 'ports/security/openssl/openssl/crypto/*.{h,c}', + # Excluded folders {MD2,JPAKE,RC5,STORE} + 'ports/security/openssl/openssl/crypto/{aes,asn1,bf,bio,bn,buffer,camellia,cast,cms,comp,conf,des,dh,dsa,dso,ec,ecdh,ecdsa,engine,err,evp,hmac,idea,krb5,lhash,md4,md5,mdc2,modes,objects,ocsp,pem,perlasm,pkcs12,pkcs7,pqueue,rand,rc2,rc4,ripemd,rsa,seed,sha,stack,threads,ts,txt_db,ui,whrlpool,x509,x509v3,}/*.{h,c}' + ] + end + end + +end diff --git a/libetpan/0.0.1/libetpan.podspec b/libetpan/0.0.1/libetpan.podspec new file mode 100644 index 000000000000000..1e382c587eb2634 --- /dev/null +++ b/libetpan/0.0.1/libetpan.podspec @@ -0,0 +1,12 @@ +Pod::Spec.new do |s| + s.name = 'libetpan' + s.version = '0.0.1' + s.summary = 'Mail Framework for C Language.' + s.homepage = 'https://github.com/dinhviethoa/libetpan' + s.license = { :type => 'BSD', :file => 'COPYRIGHT' } + s.author = 'DINH Viêt Hoà' + s.source = { :git => 'https://github.com/dinhviethoa/libetpan.git', :commit => 'aff935754d' } + s.ios.deployment_target = '4.0' + s.osx.deployment_target = '10.6' + s.source_files = 'include', 'src/**/*.{h,m}' +end