2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-28 00:02:28 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gccxml < Formula
|
2012-02-21 06:04:21 +00:00
|
|
|
homepage 'http://www.gccxml.org/HTML/Index.html'
|
2009-09-28 00:02:28 +00:00
|
|
|
url "cvs://:pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML:gccxml"
|
2010-04-07 05:58:35 +00:00
|
|
|
version 'HEAD'
|
2009-09-28 00:02:28 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-09-28 00:02:28 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-22 04:48:36 +00:00
|
|
|
mkdir 'gccxml-build' do
|
|
|
|
system "cmake #{std_cmake_parameters} .."
|
2009-09-28 00:02:28 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|