Adding the gccxml formula.
This commit is contained in:
parent
f233f2a944
commit
e55cfe5d2c
1 changed files with 22 additions and 0 deletions
22
Formula/gccxml.rb
Normal file
22
Formula/gccxml.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue