diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/konoha.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/konoha.rb b/Library/Formula/konoha.rb index e600f47b1..4ec90febc 100644 --- a/Library/Formula/konoha.rb +++ b/Library/Formula/konoha.rb @@ -2,8 +2,8 @@ require 'formula' class Konoha < Formula homepage 'http://www.konohascript.org/' - url 'https://github.com/downloads/konoha-project/minikonoha/minikonoha-0.1.0.tar.gz' - sha1 '621aa1244c344a9e7be96fb6e6d067bae7f43d64' + url 'https://github.com/konoha-project/konoha3/archive/v0.1.tar.gz' + sha1 '85ee3527c9a2db2874280e506c09aab8809a6ad5' option 'tests', 'Verify the build with make test (1 min)' @@ -12,14 +12,20 @@ class Konoha < Formula depends_on 'pcre' depends_on 'json-c' depends_on 'sqlite' + depends_on :python # for python glue code def install args = std_cmake_args + ['..'] + # mecab is no longer in the 10.8 SDK but superenv does not (yet) support + # switching to an older SDK. And if we add the include path so that + # `mecab.h` is found, we get more errors in mecab_glue.c: + # error: no member named 'id' in 'struct mecab_node_t' + args << "-DHAVE_LIBMECAB=OFF" if MacOS.version >= :mountain_lion mkdir 'build' do system 'cmake', *args system 'make' - system 'make test' if build.include? 'tests' - system 'make install' + system 'make', 'test' if build.include? 'tests' + system 'make', 'install' end end end |
