2011-03-10 05:11:03 +00:00
|
|
|
class Gcal < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Gcal is a program for calculating and printing calendars"
|
2015-07-16 04:10:08 +00:00
|
|
|
homepage "https://www.gnu.org/software/gcal/"
|
|
|
|
url "http://ftpmirror.gnu.org/gcal/gcal-3.6.3.tar.xz"
|
|
|
|
mirror "https://ftp.gnu.org/gnu/gcal/gcal-3.6.3.tar.xz"
|
|
|
|
sha256 "6742913a1d011ac109ad713ef4a8263eaf4c5cfd315471626a92f094e3e4b31b"
|
2012-05-17 17:37:35 +00:00
|
|
|
|
2015-07-16 04:50:59 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "2298293a8e7a4ee03bc66d072e29d6e5b64d2f2ff40527bf5d6cb5cbcaf8d03b" => :yosemite
|
|
|
|
sha256 "7080b2c3ab5e8f71a9ad76e42be2c6725c3178f0ccdcb849f1df7b2e557fd55c" => :mavericks
|
|
|
|
sha256 "831f243692973ba051631f48001f5ddc2cee42302929f605e4e245f5b0e4031a" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2010-10-07 18:16:44 +00:00
|
|
|
def install
|
2015-07-16 04:10:08 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
date = shell_output("date +%Y")
|
|
|
|
assert_match date, shell_output("#{bin}/gcal")
|
2010-10-07 18:16:44 +00:00
|
|
|
end
|
|
|
|
end
|