homebrew-core/Formula/astyle.rb
Sergey Avseyev 44776ae3c7 Astyle 2.02.1
Closes Homebrew/homebrew#11305.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-30 07:21:31 -07:00

14 lines
364 B
Ruby

require 'formula'
class Astyle < Formula
homepage 'http://astyle.sourceforge.net/'
url 'http://downloads.sourceforge.net/sourceforge/astyle/astyle_2.02.1_macosx.tar.gz'
md5 '38f3a20be7ba685496d479316d6004b0'
def install
cd 'src' do
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
bin.install "bin/astyle"
end
end
end