homebrew-core/Formula/konoha.rb
nibbles 2bits e4290ef04a konoha 1.0.0-952
Upgrade konoha to version 1.0.0-952.
Adapt the formula to the major changes that happened including:

* Add deps on cmake, pcre, json-c, open-mpi, and sqlite
* Use new homepage that is listed on the old homepage.
* Use the googlecode download site.

Tested on Lion with clang and llvm from XCode-4.3.3.

Closes Homebrew/homebrew#12839.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-14 17:15:19 -05:00

22 lines
483 B
Ruby

require 'formula'
class Konoha < Formula
homepage 'http://www.konohascript.org/'
url 'http://konoha.googlecode.com/files/konoha-1.0.0-952.tar.gz'
sha1 'c4cfdc956bd583f8c3e8e696eeb0316ca78b1389'
depends_on 'cmake' => :build
depends_on 'pcre'
depends_on 'json-c'
depends_on 'open-mpi'
depends_on 'sqlite'
def install
args = std_cmake_args + ['..']
cd 'build' do
system 'cmake', *args
system 'make'
system 'make install'
end
end
end