require 'formula' class GoogleAppEngine < Formula homepage 'https://developers.google.com/appengine/' url 'https://commondatastorage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.0.zip' sha1 '923a7f99e058d93408d3940e0307bdf2769b7480' def install cd '..' share.install 'google_appengine' => name bin.mkpath %w[ _python_runtime.py _php_runtime.py api_server.py appcfg.py bulkload_client.py bulkloader.py dev_appserver.py download_appstats.py endpointscfg.py gen_protorpc.py google_sql.py old_dev_appserver.py remote_api_shell.py ].each do |fn| ln_s share+name+fn, bin end end end