github.com/clem109/go-ethereum@v1.8.3-0.20180316121352-fe6cf00f480a/build/pod.podspec (about)

     1  Pod::Spec.new do |spec|
     2    spec.name         = 'Geth'
     3    spec.version      = '{{.Version}}'
     4    spec.license      = { :type => 'GNU Lesser General Public License, Version 3.0' }
     5    spec.homepage     = 'https://github.com/ethereum/go-ethereum'
     6    spec.authors      = { {{range .Contributors}}
     7  		'{{.Name}}' => '{{.Email}}',{{end}}
     8  	}
     9    spec.summary      = 'iOS Ethereum Client'
    10    spec.source       = { :git => 'https://github.com/ethereum/go-ethereum.git', :commit => '{{.Commit}}' }
    11  
    12  	spec.platform = :ios
    13    spec.ios.deployment_target  = '9.0'
    14  	spec.ios.vendored_frameworks = 'Frameworks/Geth.framework'
    15  
    16  	spec.prepare_command = <<-CMD
    17      curl https://gethstore.blob.core.windows.net/builds/{{.Archive}}.tar.gz | tar -xvz
    18      mkdir Frameworks
    19      mv {{.Archive}}/Geth.framework Frameworks
    20      rm -rf {{.Archive}}
    21    CMD
    22  end