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

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

  depends_on 'cmake' => :build

  def install
    mkdir 'gccxml-build'
    cd 'gccxml-build' do
      system "cmake .. #{std_cmake_parameters}"
      system "make"
      system "make install"
    end
  end
end