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
|
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
|
|
|
homepage 'http://www.gccxml.org/HTML/Index.html'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'cmake' => :build
|
2009-09-28 00:02:28 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
mkdir 'gccxml-build'
|
2009-09-28 00:02:28 +00:00
|
|
|
Dir.chdir 'gccxml-build' do
|
|
|
|
system "cmake .. #{std_cmake_parameters}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|