e18544e051
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
14 lines
385 B
Ruby
14 lines
385 B
Ruby
require 'formula'
|
|
|
|
class Astyle < Formula
|
|
homepage 'http://astyle.sourceforge.net/'
|
|
url 'http://sourceforge.net/projects/astyle/files/astyle/astyle%202.03/astyle_2.03_macosx.tar.gz'
|
|
sha1 '60595f6a4704e9c2b9cc6a24c3276695dc6288b2'
|
|
|
|
def install
|
|
cd 'src' do
|
|
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
|
|
bin.install "bin/astyle"
|
|
end
|
|
end
|
|
end
|