aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmaa.rb
blob: b2b65198b0f27688c8d670e31943b9ae7aa18230 (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
require "formula"

class Libmaa < Formula
  homepage "http://www.dict.org/"
  url "https://downloads.sourceforge.net/project/dict/libmaa/libmaa-1.3.2/libmaa-1.3.2.tar.gz"
  sha1 "4540374c9e66e3f456a8102e0ae75828b7892c6d"

  bottle do
    cellar :any
    sha1 "f6202ebc9283ce8cf0b9718561220a3ed8f96926" => :mavericks
    sha1 "9c45a8050f4b200d492840fb5532cae843895240" => :mountain_lion
    sha1 "fe07fcbbf99da2816532a525bbf585d2185edda6" => :lion
  end

  depends_on "libtool" => :build

  def install
    ENV["LIBTOOL"] = "glibtool"
    system "./configure", "--prefix=#{prefix}"
    system "make"
    system "make", "install"
  end
end