diff options
| author | kbinani | 2014-11-17 17:34:06 +0900 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-17 10:24:56 +0000 |
| commit | 8c8c789c63eb810ed1bb43171145b8510d18bdb2 (patch) | |
| tree | d2717103e67603d3b1d36672a121ec33695ffa02 /Library | |
| parent | 3d288d3e5730228259e72f39c1e53b67d955acc7 (diff) | |
| download | homebrew-8c8c789c63eb810ed1bb43171145b8510d18bdb2.tar.bz2 | |
astyle: Add HEAD option
Closes #34255.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/astyle.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/astyle.rb b/Library/Formula/astyle.rb index 774b7b735..6ea7ea101 100644 --- a/Library/Formula/astyle.rb +++ b/Library/Formula/astyle.rb @@ -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 |
