2010-01-24 17:31:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Md5sha1sum < Formula
|
2010-01-24 17:31:31 +00:00
|
|
|
homepage 'http://www.microbrew.org/tools/md5sha1sum/'
|
2012-05-12 02:06:26 +00:00
|
|
|
url 'http://www.microbrew.org/tools/md5sha1sum/md5sha1sum-0.9.5.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '84a46bfd2b49daa0a601a9c55b7d87c27e19ef87'
|
2010-01-24 17:31:31 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-15 21:36:45 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2010-01-24 17:31:31 +00:00
|
|
|
system "make"
|
2012-05-12 02:06:26 +00:00
|
|
|
bin.install 'md5sum'
|
|
|
|
bin.install_symlink bin/'md5sum' => 'sha1sum'
|
|
|
|
bin.install_symlink bin/'md5sum' => 'ripemd160sum'
|
2010-01-24 17:31:31 +00:00
|
|
|
end
|
|
|
|
end
|