aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-01 21:40:11 -0700
committerAdam Vandenberg2010-07-01 21:40:11 -0700
commita385f9e144ead04889f6e05b822022a1dfbf55e2 (patch)
tree04299766e3f182d7416f9b5e3520aee61f8dc5a1 /Library
parentd02a6d2ff537d5eabd336a19db6d44bcebfcf6e3 (diff)
downloadhomebrew-a385f9e144ead04889f6e05b822022a1dfbf55e2.tar.bz2
Add magit as separate brew at 0.8.1.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/magit.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/magit.rb b/Library/Formula/magit.rb
new file mode 100644
index 000000000..95428255d
--- /dev/null
+++ b/Library/Formula/magit.rb
@@ -0,0 +1,14 @@
+require 'formula'
+
+class Magit <Formula
+ url 'http://github.com/downloads/philjackson/magit/magit-0.8.1.tar.gz'
+ homepage 'http://github.com/philjackson/magit'
+ md5 'ab5dc15540942dabd9861d9dfaa5601f'
+ head 'git://github.com/philjackson/magit.git'
+
+ def install
+ system "./autogen.sh" if File.exist? "autogen.sh"
+ system "./configure", "--prefix=#{prefix}"
+ system "make install"
+ end
+end