Updated astyle formula to version 1.24
Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
d1c16fda56
commit
2bb2372aea
|
@ -1,15 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Astyle <Formula
|
||||
@url='http://downloads.sourceforge.net/sourceforge/astyle/astyle_1.23_macosx.tar.gz'
|
||||
@md5='9f7f3237996776d01bc6837cd445a442'
|
||||
@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 ../buildmac/Makefile"
|
||||
bin.install "../bin/astyle"
|
||||
system "make -f ../build/mac/Makefile"
|
||||
bin.install "./bin/astyle"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue