aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmaa.rb
blob: 025c15b3121f2e75ce626f6494ea8d7f70e399d9 (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
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
    revision 1
    sha1 "2e87bbf21b8e9775341599459524078ac0f505b1" => :yosemite
    sha1 "b2750220edec8b59538b80a3b0a32020fd662eaa" => :mavericks
    sha1 "fc5057ee1f5b99573028908d15285aea445a74b9" => :mountain_lion
  end

  depends_on "libtool" => :build

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