astyle: Add HEAD option
Closes Homebrew/homebrew#34255. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
188de9cc6f
commit
f808de693a
1 changed files with 6 additions and 5 deletions
|
@ -1,12 +1,13 @@
|
|||
require 'formula'
|
||||
require "formula"
|
||||
|
||||
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'
|
||||
homepage "http://astyle.sourceforge.net/"
|
||||
url "https://downloads.sourceforge.net/project/astyle/astyle/astyle%202.04/astyle_2.04_macosx.tar.gz"
|
||||
sha1 "2aa956c4521a1163da6a8be741786fd89c1f39a7"
|
||||
head "svn://svn.code.sf.net/p/astyle/code/trunk/AStyle"
|
||||
|
||||
def install
|
||||
cd 'src' do
|
||||
cd "src" do
|
||||
system "make", "CXX=#{ENV.cxx}", "-f", "../build/mac/Makefile"
|
||||
bin.install "bin/astyle"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue