homebrew-core/Formula/git-ssh.rb
Robert Shaw 4970f71c82 Formula for git-ssh version 0.2.0.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

Added md5
2010-03-15 10:19:11 -07:00

18 lines
530 B
Ruby

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