2018-02-08 16:22:29 +00:00
|
|
|
Pod::Spec.new do |s|
|
2018-09-26 09:09:00 +00:00
|
|
|
openssl_version = "%OPENSSL-VERSION%"
|
2019-09-26 07:46:35 +00:00
|
|
|
script_version = "4"
|
2018-09-26 09:09:00 +00:00
|
|
|
|
2018-02-08 16:22:29 +00:00
|
|
|
s.name = "OpenSSL-Apple"
|
2018-11-12 09:21:44 +00:00
|
|
|
s.version = "#{openssl_version}.#{script_version}"
|
2018-02-08 16:22:29 +00:00
|
|
|
s.summary = "A script for compiling OpenSSL for Apple Devices"
|
2019-09-26 08:09:55 +00:00
|
|
|
s.authors = "Felix Schulze", "Davide De Rosa", "Ezat Hashim"
|
2018-02-08 16:22:29 +00:00
|
|
|
|
2018-09-24 09:36:28 +00:00
|
|
|
s.homepage = "https://github.com/keeshux/openssl-apple.git"
|
2019-02-23 21:47:05 +00:00
|
|
|
s.source = { :git => s.homepage.to_s, :tag => "v#{script_version}" }
|
2018-02-08 16:22:29 +00:00
|
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
|
|
|
|
|
|
s.prepare_command = <<-CMD
|
2018-09-26 09:09:00 +00:00
|
|
|
./build-libssl.sh --version=#{openssl_version}
|
2018-02-08 16:22:29 +00:00
|
|
|
./create-openssl-framework.sh dynamic
|
|
|
|
CMD
|
|
|
|
|
2019-09-26 07:52:03 +00:00
|
|
|
s.ios.deployment_target = "11.0"
|
|
|
|
s.ios.vendored_frameworks = "frameworks/iPhone/openssl.framework"
|
|
|
|
s.tvos.deployment_target = "11.0"
|
|
|
|
s.tvos.vendored_frameworks = "frameworks/AppleTV/openssl.framework"
|
|
|
|
s.osx.deployment_target = "10.11"
|
|
|
|
s.osx.vendored_frameworks = "frameworks/MacOSX/openssl.framework"
|
|
|
|
s.watchos.deployment_target = "4.0"
|
|
|
|
s.watchos.vendored_frameworks = "frameworks/WatchOS/openssl.framework"
|
|
|
|
s.requires_arc = false
|
2018-02-08 16:22:29 +00:00
|
|
|
end
|