29 lines
1.2 KiB
Plaintext
Executable File
29 lines
1.2 KiB
Plaintext
Executable File
Pod::Spec.new do |s|
|
|
openssl_version = "%OPENSSL-VERSION%"
|
|
script_version = "4"
|
|
|
|
s.name = "OpenSSL-Apple"
|
|
s.version = "#{openssl_version}.#{script_version}"
|
|
s.summary = "A script for compiling OpenSSL for Apple Devices"
|
|
s.authors = "Felix Schulze", "Davide De Rosa", "Ezat Hashim"
|
|
|
|
s.homepage = "https://github.com/keeshux/openssl-apple.git"
|
|
s.source = { :git => s.homepage.to_s, :tag => "v#{script_version}" }
|
|
s.license = { :type => 'Apache', :file => 'LICENSE' }
|
|
|
|
s.prepare_command = <<-CMD
|
|
./build-libssl.sh --version=#{openssl_version}
|
|
./create-openssl-framework.sh dynamic
|
|
CMD
|
|
|
|
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
|
|
end
|