2016-11-09 12:13:37 +03:00
|
|
|
Pod::Spec.new do |spec|
|
2016-11-28 13:56:13 +03:00
|
|
|
spec.name = 'Geth'
|
2016-11-09 12:13:37 +03:00
|
|
|
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
|
2016-11-22 19:35:49 +03:00
|
|
|
curl https://gethstore.blob.core.windows.net/builds/{{.Archive}}.tar.gz | tar -xvz
|
2016-11-09 12:13:37 +03:00
|
|
|
mkdir Frameworks
|
2016-11-22 19:35:49 +03:00
|
|
|
mv {{.Archive}}/Geth.framework Frameworks
|
|
|
|
rm -rf {{.Archive}}
|
2016-11-09 12:13:37 +03:00
|
|
|
CMD
|
|
|
|
end
|