homebrew-core/Formula/astyle.rb

15 lines
389 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 'https://downloads.sourceforge.net/project/astyle/astyle/astyle%202.04/astyle_2.04_macosx.tar.gz'
sha1 '2aa956c4521a1163da6a8be741786fd89c1f39a7'
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