aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornibbles 2bits2012-06-14 04:54:42 -0700
committerJack Nagel2012-06-14 17:15:19 -0500
commit90b7daa030278305492e57db15f8445a7493887d (patch)
tree2af3b1d10e25394a3023a9a2edc30ce3de8aed4c
parent83c4f1df93a8d52482e292d2d403b9d6a66acb91 (diff)
downloadhomebrew-90b7daa030278305492e57db15f8445a7493887d.tar.bz2
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 #12839. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/konoha.rb21
1 files changed, 15 insertions, 6 deletions
diff --git a/Library/Formula/konoha.rb b/Library/Formula/konoha.rb
index cd36de61a..6aad93fc7 100644
--- a/Library/Formula/konoha.rb
+++ b/Library/Formula/konoha.rb
@@ -1,13 +1,22 @@
require 'formula'
class Konoha < Formula
- homepage 'http://konoha.sourceforge.jp'
- url 'http://sourceforge.jp/frs/redir.php?f=%2Fkonoha%2F43718%2Fkonoha-0.7.1.tar.gz'
- md5 '7f42f227bc251955c653c87cf2051a8a'
+ 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
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
- system "make install"
+ args = std_cmake_args + ['..']
+ cd 'build' do
+ system 'cmake', *args
+ system 'make'
+ system 'make install'
+ end
end
end