2010-07-02 04:40:11 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Magit <Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
url 'https://github.com/downloads/philjackson/magit/magit-0.8.2.tar.gz'
|
|
|
|
homepage 'https://github.com/philjackson/magit'
|
2010-10-13 09:45:00 +00:00
|
|
|
md5 'fe7e1a1085190ede6bed49e406fe0ce9'
|
2010-07-02 04:40:11 +00:00
|
|
|
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
|