2010-01-14 01:48:32 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-13 01:43:53 +00:00
|
|
|
class Cloc < ScriptFileFormula
|
2010-01-14 01:48:32 +00:00
|
|
|
homepage 'http://cloc.sourceforge.net/'
|
2013-03-28 23:37:16 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cloc/cloc/v1.58/cloc-1.58.pl'
|
|
|
|
sha1 'bf2b4478343da50d0eea83ad0ed3f126ff210d39'
|
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
|