diff options
| author | Oame | 2012-01-31 00:56:53 +0900 |
|---|---|---|
| committer | Jack Nagel | 2012-01-30 19:40:32 -0600 |
| commit | 073fa5cedebb1828ae72460c1395356a7c9986a3 (patch) | |
| tree | 6750dac1823f9a89be76adafaa808e71e8a80eae /Library | |
| parent | f8f2f43c44697b056c7a1dc9d8a6d376d05f3b17 (diff) | |
| download | homebrew-073fa5cedebb1828ae72460c1395356a7c9986a3.tar.bz2 | |
New Formula: CaboCha
Signed-off-by: Oame <oame@oameya.com>
Closes #9872.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cabocha.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/cabocha.rb b/Library/Formula/cabocha.rb new file mode 100644 index 000000000..7ba2957bc --- /dev/null +++ b/Library/Formula/cabocha.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Cabocha < Formula + url 'http://cabocha.googlecode.com/files/cabocha-0.60.tar.gz' + homepage 'http://code.google.com/p/cabocha/' + md5 '3399873faab9b252fd57e1d48fa1285d' + + depends_on 'crf++' + + def install + ENV["LIBS"] = '-liconv' + + inreplace 'Makefile.in' do |s| + s.change_make_var! 'CFLAGS', ENV.cflags + s.change_make_var! 'CXXFLAGS', ENV.cflags + end + + system "./configure", "--with-charset=utf8", + "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end +end |
