homebrew-core/Formula/astyle.rb
Jorge Luis Mendez 2bb2372aea Updated astyle formula to version 1.24
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-02 09:38:00 -08:00

15 lines
No EOL
375 B
Ruby

require 'formula'
class Astyle <Formula
@url='http://downloads.sourceforge.net/sourceforge/astyle/astyle_1.24_macosx.tar.gz'
@md5='9b63dadac58e867f14b3894befbdc9b3'
@homepage='http://astyle.sourceforge.net/'
def install
Dir.chdir 'src' do
ENV['prefix']=prefix
system "make -f ../build/mac/Makefile"
bin.install "./bin/astyle"
end
end
end