homebrew-core/Formula/io.rb
2011-03-12 11:55:09 -08:00

24 lines
462 B
Ruby

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