homebrew-core/Formula/astyle.rb

15 lines
373 B
Ruby
Raw Normal View History

require 'formula'
2009-06-14 23:55:32 +00:00
2011-03-10 05:11:03 +00:00
class Astyle < Formula
homepage 'http://astyle.sourceforge.net/'
url 'http://downloads.sourceforge.net/sourceforge/astyle/astyle_2.02.1_macosx.tar.gz'
sha1 'b8e3e79c7134a0e97a1948608e3b58201d3af3de'
2009-06-14 23:55:32 +00:00
def install
cd 'src' do
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
bin.install "bin/astyle"
2009-06-14 23:55:32 +00:00
end
end
end