homebrew-core/Formula/cloc.rb

12 lines
292 B
Ruby
Raw Normal View History

require 'formula'
2011-03-13 01:43:53 +00:00
class Cloc < ScriptFileFormula
homepage 'http://cloc.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/cloc/cloc/v1.58/cloc-1.58.pl'
sha1 'bf2b4478343da50d0eea83ad0ed3f126ff210d39'
def install
2013-03-30 19:19:30 +00:00
bin.install "cloc-#{version}.pl" => "cloc"
end
end