diff options
| author | Austin Ziegler | 2009-09-27 20:02:28 -0400 |
|---|---|---|
| committer | Max Howell | 2009-09-30 18:52:13 +0100 |
| commit | 9541d3de8c82d19b6d110fadcaa6c9bb0f923612 (patch) | |
| tree | 61f35a03fcd6949f770121a48d6b6b420cd94049 | |
| parent | c6958c5d7ec2456f2c030a5e16e165b08f791ebd (diff) | |
| download | homebrew-9541d3de8c82d19b6d110fadcaa6c9bb0f923612.tar.bz2 | |
Adding the gccxml formula.
| -rw-r--r-- | Library/Formula/gccxml.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/gccxml.rb b/Library/Formula/gccxml.rb new file mode 100644 index 000000000..8835fb1a3 --- /dev/null +++ b/Library/Formula/gccxml.rb @@ -0,0 +1,22 @@ +require 'brewkit' + +class Gccxml <Formula + # NOTE you don't need to specify the version, usually it is determined + # automatically by examination of the URL, however in this case our auto + # determination magic is inadequete + version 'HEAD' + url "cvs://:pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML:gccxml" + homepage 'http://www.gccxml.org/HTML/Index.html' + + depends_on 'cmake' + + def install + FileUtils.mkdir 'gccxml-build' + + Dir.chdir 'gccxml-build' do + system "cmake .. #{std_cmake_parameters}" + system "make" + system "make install" + end + end +end |
