2011-12-25 05:24:17 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Konoha < Formula
|
2012-06-14 11:54:42 +00:00
|
|
|
homepage 'http://www.konohascript.org/'
|
|
|
|
url 'http://konoha.googlecode.com/files/konoha-1.0.0-952.tar.gz'
|
|
|
|
sha1 'c4cfdc956bd583f8c3e8e696eeb0316ca78b1389'
|
|
|
|
|
|
|
|
depends_on 'cmake' => :build
|
2012-07-06 23:31:44 +00:00
|
|
|
depends_on MPIDependency.new(:cc, :cxx)
|
2012-06-14 11:54:42 +00:00
|
|
|
depends_on 'pcre'
|
|
|
|
depends_on 'json-c'
|
|
|
|
depends_on 'sqlite'
|
2011-12-25 05:24:17 +00:00
|
|
|
|
|
|
|
def install
|
2012-06-14 11:54:42 +00:00
|
|
|
args = std_cmake_args + ['..']
|
|
|
|
cd 'build' do
|
|
|
|
system 'cmake', *args
|
|
|
|
system 'make'
|
|
|
|
system 'make install'
|
|
|
|
end
|
2011-12-25 05:24:17 +00:00
|
|
|
end
|
|
|
|
end
|