2015-05-06 16:47:12 +00:00
|
|
|
class Hebcal < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Perpetual Jewish calendar for the command-line"
|
2015-05-06 16:47:12 +00:00
|
|
|
homepage "https://github.com/hebcal/hebcal"
|
2015-07-18 08:16:58 +00:00
|
|
|
url "https://github.com/hebcal/hebcal/archive/v3.18.tar.gz"
|
|
|
|
sha256 "5aa1d3f7c759b198dfaf115649a46f9861618989490cb341feec64565ddac761"
|
2015-05-06 16:47:12 +00:00
|
|
|
|
2015-05-07 06:36:58 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-07-18 08:28:33 +00:00
|
|
|
sha256 "94db6e8f80e482fcb7785109d227d8cc9855f064c994048014e79c08e639730f" => :yosemite
|
|
|
|
sha256 "7439a93a1826a9c4839e3d766848e045ebcd53e13a70bffe9d9b1db233b1604f" => :mavericks
|
|
|
|
sha256 "b82ab16bfcf545ac7aa67293575c9a7592ec97a9302d5a4f83956f829469afe2" => :mountain_lion
|
2015-05-07 06:36:58 +00:00
|
|
|
end
|
|
|
|
|
2015-05-06 16:47:12 +00:00
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "ACLOCAL=aclocal", "AUTOMAKE=automake"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/hebcal"
|
|
|
|
end
|
|
|
|
end
|