Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added DTFoundation 1.2.0

  • Loading branch information...
commit 9248b565b2bc6f895f6bf172fbb1438a7c38b2c2 1 parent 3e273b5
@Cocoanetics Cocoanetics authored
Showing with 54 additions and 0 deletions.
  1. +54 −0 DTFoundation/1.2.0/DTFoundation.podspec
View
54 DTFoundation/1.2.0/DTFoundation.podspec
@@ -0,0 +1,54 @@
+Pod::Spec.new do |spec|
+ spec.name = 'DTFoundation'
+ spec.version = '1.2.0'
+ spec.summary = "Standard toolset classes and categories."
+ spec.homepage = "https://github.com/Cocoanetics/DTFoundation"
+ spec.author = { "Oliver Drobnik" => "oliver@drobnik.com" }
+ spec.source = { :git => "https://github.com/Cocoanetics/DTFoundation.git", :tag => spec.version.to_s }
+ spec.license = 'BSD'
+ spec.requires_arc = true
+
+ spec.subspec 'Core' do |ss|
+ ss.ios.deployment_target = '4.3'
+ ss.osx.deployment_target = '10.6'
+ ss.source_files = 'Core/Source/*.{h,m}'
+ end
+
+ spec.subspec 'UIKit' do |ss|
+ ss.platform = :ios, '4.3'
+ ss.dependency 'DTFoundation/Core'
+ ss.ios.frameworks = 'QuartzCore'
+ ss.ios.source_files = 'Core/Source/iOS/*.{h,m}'
+ end
+
+ spec.subspec 'AppKit' do |ss|
+ ss.platform = :osx, '10.6'
+ ss.dependency 'DTFoundation/Core'
+ ss.osx.source_files = 'Core/Source/OSX/*.{h,m}'
+ end
+
+ spec.subspec 'DTHMLParser' do |ss|
+ ss.ios.deployment_target = '4.3'
+ ss.dependency 'DTFoundation/Core'
+ ss.source_files = 'Core/Source/DTHTMLParser/*.{h,m}'
+ ss.library = 'xml2'
+ ss.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
+ end
+
+ spec.subspec 'DTZipArchive' do |ss|
+ ss.ios.deployment_target = '4.3'
+ ss.source_files = 'Core/Source/DTZipArchive/*.{h,m}'
+
+ # Ideally minizip should have a Pod
+ # ss.dependency 'Minizip'
+ ss.subspec 'Minizip' do |sss|
+ sss.source_files = 'Core/Source/Externals/minizip/*.{h,c}'
+ end
+ end
+
+ spec.subspec 'DTUTI' do |ss|
+ ss.ios.deployment_target = '4.3'
+ ss.ios.frameworks = ['MobileCoreServices']
+ ss.source_files = 'Core/Source/DTUTI/*.{h,m}'
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.