aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/kytea.rb
blob: dcf056236bba88e93fcc397645a6822f13659323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'formula'

class Kytea < Formula
  homepage 'http://www.phontron.com/kytea/'
  url 'http://www.phontron.com/kytea/download/kytea-0.4.7.tar.gz'
  sha1 '684f6b90bd4ae048ea3a6fc9762b1baecb006eb3'

  bottle do
    sha1 "7a04bfa95710808c1f0f26e9c384d10705ca367d" => :yosemite
    sha1 "b1631db9325f7f52c54edbff0712a7b513047c9e" => :mavericks
    sha1 "5d0b41f2112c6c06ec088c2fc2e32dd8c60a6790" => :mountain_lion
  end

  head do
    url 'https://github.com/neubig/kytea.git'
    depends_on 'autoconf' => :build
    depends_on 'automake' => :build
    depends_on 'libtool' => :build
  end

  def install
    system "autoreconf", "-i" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end