aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gccxml.rb
blob: a41191ee0161377124593e12d9a76d1ee8007366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Gccxml < Formula
  homepage 'http://www.gccxml.org/HTML/Index.html'
  head "cvs://:pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML:gccxml"

  depends_on 'cmake' => :build

  def install
    mkdir 'gccxml-build' do
      system "cmake", ".", *std_cmake_args
      system "make"
      system "make install"
    end
  end
end