2010-01-14 01:48:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2013-06-06 23:37:18 +00:00
|
|
|
class Cloc < Formula
|
2010-01-14 01:48:32 +00:00
|
|
|
homepage 'http://cloc.sourceforge.net/'
|
2013-09-15 23:10:48 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cloc/cloc/v1.60/cloc-1.60.pl'
|
|
|
|
sha1 'd002e85b7deb988e4f88eaf3f9697cf011ec0c8a'
|
2011-03-13 01:10:35 +00:00
|
|
|
|
|
|
|
def install
|
2013-03-30 19:19:30 +00:00
|
|
|
bin.install "cloc-#{version}.pl" => "cloc"
|
2011-03-13 01:10:35 +00:00
|
|
|
end
|
2010-01-14 01:48:32 +00:00
|
|
|
end
|