mecab-ipadic: update homepage and options

This commit is contained in:
Garrett Hyde 2014-04-24 00:43:31 -06:00 committed by Adam Vandenberg
parent 70f1daba23
commit fe38a17cf8

View file

@ -1,17 +1,17 @@
require 'formula'
class MecabIpadic < Formula
homepage 'http://mecab.sourceforge.net/'
homepage 'http://mecab.googlecode.com/svn/trunk/mecab/doc/index.html'
url 'https://downloads.sourceforge.net/project/mecab/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz'
sha1 '0d9d021853ba4bb4adfa782ea450e55bfe1a229b'
# Via ./configure --help, valid choices are utf8 (default), euc-jp, sjis
option 'with-charset=', "Select charset: utf8 (default), euc-jp, or sjis"
option 'charset=', "Select charset: utf8 (default), euc-jp, or sjis"
depends_on "mecab"
def install
charset = ARGV.value('with-charset') || 'utf8'
charset = ARGV.value('charset') || 'utf8'
args = %W[
--disable-debug
--disable-dependency-tracking