homebrew-core/Formula/gccxml.rb

19 lines
398 B
Ruby
Raw Normal View History

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"
version 'HEAD'
2009-09-28 00:02:28 +00:00
homepage 'http://www.gccxml.org/HTML/Index.html'
depends_on 'cmake' => :build
2009-09-28 00:02:28 +00:00
def install
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