diff options
| author | u0hun | 2014-05-19 00:10:34 +0900 |
|---|---|---|
| committer | Mike McQuaid | 2014-06-06 17:21:12 +0100 |
| commit | e9ef8bd72c812924cda7c5b80985d516f3f405b2 (patch) | |
| tree | 2682f06cc133b7e96b43cb7fe916799f0398efed /Library | |
| parent | 68da542651c8c8d4fa844cd7d32b8265b0231d4a (diff) | |
| download | homebrew-e9ef8bd72c812924cda7c5b80985d516f3f405b2.tar.bz2 | |
mecab-ko-dic 1.6.0-20140515
Closes #29367.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mecab-ko-dic.rb | 46 |
1 files changed, 10 insertions, 36 deletions
diff --git a/Library/Formula/mecab-ko-dic.rb b/Library/Formula/mecab-ko-dic.rb index 459f7feab..09ad68ec8 100644 --- a/Library/Formula/mecab-ko-dic.rb +++ b/Library/Formula/mecab-ko-dic.rb @@ -1,50 +1,24 @@ require "formula" class MecabKoDic < Formula - homepage "https://bitbucket.org/bibreen/mecab-ko-dic" - url "https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-1.5.0-20140317.tar.gz" - sha1 "1114b6de67ca11a439c4accc7528711b90a35c31" + homepage "https://bitbucket.org/eunjeon/mecab-ko-dic" + url "https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-1.6.0-20140515.tar.gz" + sha1 "c75a5cf38e48b62133423a8a06c12710b7874f9f" depends_on :autoconf depends_on :automake depends_on 'mecab-ko' - patch :DATA - def install + system "./autogen.sh" system "./configure", "--prefix=#{prefix}", "--with-dicdir=#{prefix}" system "make install" end -end - - -__END__ ---- a/configure -+++ b/configure -@@ -1705,9 +1705,6 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS con - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' - ac_compiler_gnu=$ac_cv_c_compiler_gnu - -- --am__api_version='1.11' -- - ac_aux_dir= - for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then -@@ -2187,13 +2184,13 @@ _ACEOF - - # Some tools Automake needs. - --ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} -+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} - - AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} - - --AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} -+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} - - - AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader" + def caveats; <<-EOS.undent + To enable the dictionary, add the following to #{HOMEBREW_PREFIX}/etc/mecabrc: + dicdir = #{HOMEBREW_PREFIX}/lib/mecab/dic/mecab-ko-dic + EOS + end +end |
