aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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