aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Shaw2010-03-13 14:49:11 -0800
committerAdam Vandenberg2010-03-15 10:19:11 -0700
commit0a66dca99e833f33cf03dfa148149b730521c831 (patch)
treeeedb9739ce1b00091910998e490b20b52e25bfbc
parentda50f2f153ac2a17136ab141b446115e036d8dc7 (diff)
downloadhomebrew-0a66dca99e833f33cf03dfa148149b730521c831.tar.bz2
Formula for git-ssh version 0.2.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com> Added md5
-rw-r--r--Library/Formula/git-ssh.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/git-ssh.rb b/Library/Formula/git-ssh.rb
new file mode 100644
index 000000000..a05e649dd
--- /dev/null
+++ b/Library/Formula/git-ssh.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class GitSsh <Formula
+ url 'http://github.com/lemarsu/git-ssh/tarball/v0.2.0'
+ md5 '5d146666bce5df59aab648b6ee7370ad'
+ homepage 'http://github.com/lemarsu/git-ssh'
+
+ def install
+ # Change loading of required code from libexec location (Cellar only)
+ inreplace "bin/git-ssh" do |s|
+ s.sub! /path = .*$/, "path = '#{libexec}'"
+ end
+ # Install main script
+ bin.install "bin/git-ssh"
+ # Install required code into libexec location (Cellar only)
+ libexec.install Dir["lib/*"]
+ end
+end