24 lines
451 B
Ruby
24 lines
451 B
Ruby
require 'formula'
|
|
|
|
class Io <Formula
|
|
head 'git://github.com/stevedekorte/io.git'
|
|
homepage 'http://iolanguage.com/'
|
|
|
|
depends_on 'cmake'
|
|
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
|