diff options
| author | kkung | 2014-01-21 17:48:05 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-06 20:58:05 -0800 |
| commit | 7bb1d40168de079e0b3f03ffc4977cab7392b40a (patch) | |
| tree | b76680419f29623f97bb9e9e036404a662a69362 /Library/Formula | |
| parent | d3f5fdb5b7d33743b220a5627488092e57c1e130 (diff) | |
| download | homebrew-7bb1d40168de079e0b3f03ffc4977cab7392b40a.tar.bz2 | |
mecab-ko-dic 1.4.3-20131115
Closes #26069.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mecab-ko-dic.rb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Library/Formula/mecab-ko-dic.rb b/Library/Formula/mecab-ko-dic.rb new file mode 100644 index 000000000..d7997ffb0 --- /dev/null +++ b/Library/Formula/mecab-ko-dic.rb @@ -0,0 +1,53 @@ +require "formula" + +class MecabKoDic < Formula + homepage "https://bitbucket.org/bibreen/mecab-ko-dic" + url "https://bitbucket.org/bibreen/mecab-ko-dic/downloads/mecab-ko-dic-1.4.3-20131115.tar.gz" + version "1.4.3-20131115" + sha1 "8a6165f564f8285942dbd838f12c52e7dfa29357" + + depends_on :autoconf + depends_on :automake + depends_on 'mecab-ko' + + def patches + DATA + end + + def install + 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" |
