32 lines
713 B
Ruby
32 lines
713 B
Ruby
require 'formula'
|
|
|
|
class GoogleAppEngine < Formula
|
|
homepage 'https://developers.google.com/appengine/'
|
|
url 'http://googleappengine.googlecode.com/files/google_appengine_1.8.1.zip'
|
|
sha1 'd0d45953a61f5456c1681c8b0f84a1962f7c5999'
|
|
|
|
depends_on :python
|
|
|
|
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
|