aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-18 13:49:21 -0700
committerAdam Vandenberg2010-06-18 13:49:21 -0700
commiteb2b3a76d2294a44d39c4cc9d94c059de5316940 (patch)
tree966b79776ced16a5c90fda6291c35c83fe0baa43 /Library/Formula
parentda38bcb8fece6a4b008b8566f4b11bc55de91383 (diff)
downloadhomebrew-eb2b3a76d2294a44d39c4cc9d94c059de5316940.tar.bz2
Google Command-Line
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/googlecl.rb23
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/googlecl.rb b/Library/Formula/googlecl.rb
new file mode 100644
index 000000000..f22fecb77
--- /dev/null
+++ b/Library/Formula/googlecl.rb
@@ -0,0 +1,23 @@
+require 'formula'
+
+# Include a private copy of this library
+class Gdata <Formula
+ url 'http://gdata-python-client.googlecode.com/files/gdata-2.0.10.tar.gz'
+ homepage 'http://code.google.com/p/gdata-python-client/'
+ sha1 'b3eb311f844c188a1f5f599b5cdc2e732d78c796'
+end
+
+class Googlecl <Formula
+ url 'http://googlecl.googlecode.com/files/googlecl-0.9.5.tar.gz'
+ homepage 'http://code.google.com/p/googlecl/'
+ sha1 '4aec2e8401ef27791036744d41cf7c277ce9afd3'
+
+ def install
+ libexec.install Dir["src/*"]
+ Gdata.new.brew { libexec.install Dir["src/*"] }
+ man1.install 'man/google.1'
+
+ bin.mkpath
+ ln_s libexec+'google', bin
+ end
+end