2014-04-28 19:34:09 +00:00
|
|
|
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"
|
|
|
|
|
2014-07-03 19:34:34 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "f6202ebc9283ce8cf0b9718561220a3ed8f96926" => :mavericks
|
|
|
|
sha1 "9c45a8050f4b200d492840fb5532cae843895240" => :mountain_lion
|
|
|
|
sha1 "fe07fcbbf99da2816532a525bbf585d2185edda6" => :lion
|
|
|
|
end
|
|
|
|
|
2014-04-28 19:34:09 +00:00
|
|
|
depends_on "libtool" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV["LIBTOOL"] = "glibtool"
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|