homebrew-core/Formula/astyle.rb

16 lines
372 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
url 'http://downloads.sourceforge.net/sourceforge/astyle/astyle_2.01_macosx.tar.gz'
md5 'f81408554bf93ea4ad4feb008a76202c'
homepage 'http://astyle.sourceforge.net/'
2009-06-14 23:55:32 +00:00
def install
Dir.chdir 'src' do
ENV['prefix']=prefix
system "make -f ../build/mac/Makefile"
bin.install "bin/astyle"
2009-06-14 23:55:32 +00:00
end
end
end