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'
|
2010-01-24 17:31:31 +00:00
|
|
|
md5 'a75c5e21071ffa66fad1001de040517a'
|
|
|
|
|
|
|
|
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
|