mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
862 B
22 lines
862 B
Pod::Spec.new do |spec|
|
|
spec.name = '{{.Name}}'
|
|
spec.version = '{{.Version}}'
|
|
spec.license = { :type => 'GNU Lesser General Public License, Version 3.0' }
|
|
spec.homepage = 'https://github.com/ethereum/go-ethereum'
|
|
spec.authors = { {{range .Contributors}}
|
|
'{{.Name}}' => '{{.Email}}',{{end}}
|
|
}
|
|
spec.summary = 'iOS Ethereum Client'
|
|
spec.source = { :git => 'https://github.com/ethereum/go-ethereum.git', :commit => '{{.Commit}}' }
|
|
|
|
spec.platform = :ios
|
|
spec.ios.deployment_target = '9.0'
|
|
spec.ios.vendored_frameworks = 'Frameworks/Geth.framework'
|
|
|
|
spec.prepare_command = <<-CMD
|
|
curl https://gethstore.blob.core.windows.net/builds/geth-ios-all-{{.Version}}.tar.gz | tar -xvz
|
|
mkdir Frameworks
|
|
mv geth-ios-all-{{.Version}}/Geth.framework Frameworks
|
|
rm -rf geth-ios-all-{{.Version}}
|
|
CMD
|
|
end
|
|
|