homebrew-core/Formula/io.rb

25 lines
461 B
Ruby
Raw Normal View History

2009-11-12 18:15:15 +00:00
require 'formula'
class Io <Formula
head 'git://github.com/stevedekorte/io.git'
homepage 'http://iolanguage.com/'
depends_on 'cmake' => :build
depends_on 'libsgml'
2009-11-12 18:15:15 +00:00
def install
ENV.j1
2010-06-17 23:53:05 +00:00
mkdir 'io-build'
Dir.chdir 'io-build' do
system "cmake .. #{std_cmake_parameters}"
system "make install"
end
2010-06-17 23:53:05 +00:00
rm_f Dir['docs/*.pdf']
doc.install Dir['docs/*']
2010-06-17 23:53:05 +00:00
prefix.install 'license/bsd_license.txt' => 'LICENSE'
2009-11-12 18:15:15 +00:00
end
end