2010-08-12 23:28:42 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GitExtras <Formula
|
2010-11-01 02:35:14 +00:00
|
|
|
url 'git://github.com/visionmedia/git-extras.git', :tag => '0.0.7'
|
|
|
|
version '0.0.7'
|
2010-08-12 23:28:42 +00:00
|
|
|
head 'git://github.com/visionmedia/git-extras.git', :branch => 'master'
|
|
|
|
|
2010-11-10 18:16:28 +00:00
|
|
|
homepage 'https://github.com/visionmedia/git-extras'
|
2010-08-12 23:28:42 +00:00
|
|
|
|
2010-11-04 14:55:50 +00:00
|
|
|
# Patch won't be needed in 0.0.8. See:
|
|
|
|
# https://github.com/visionmedia/git-extras/issues/issue/25
|
|
|
|
def patches
|
|
|
|
"https://github.com/visionmedia/git-extras/commit/88d3c87f8022ed6af9c268f09b505d8ba984501b.diff"
|
|
|
|
end
|
|
|
|
|
2010-08-12 23:28:42 +00:00
|
|
|
def install
|
2010-08-13 01:58:13 +00:00
|
|
|
inreplace 'Makefile', '/usr/local', prefix
|
|
|
|
bin.mkpath
|
|
|
|
system "make", "install"
|
2010-08-12 23:28:42 +00:00
|
|
|
end
|
|
|
|
end
|