2011-03-10 05:11:03 +00:00
|
|
|
class Dcal < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "dcal(1) is to cal(1) what ddate(1) is to date(1)"
|
2015-03-26 09:03:12 +00:00
|
|
|
homepage "http://alexeyt.freeshell.org/"
|
|
|
|
url "http://alexeyt.freeshell.org/code/dcal.c"
|
|
|
|
version "0.1.0"
|
|
|
|
sha256 "d637fd27fc8d2a3c567b215fc05ee0fd9d88ba9fc5ddd5f0b07af3b8889dcba7"
|
2010-08-29 20:25:16 +00:00
|
|
|
|
2015-03-27 02:48:11 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha256 "f91b680d549342c293d0decae1fcd17d872951cedc20c329dcdd13a7478ed5fa" => :yosemite
|
|
|
|
sha256 "b5a277ca3a307bb47b137a76e2c8ee0fc1420b09819f0055b1010ef4ce5bc7ba" => :mavericks
|
|
|
|
sha256 "7288e5eb42261ff5912b985eb63c438aa03d89a5f09eea676b3088bc92c1dd6c" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2010-08-29 20:25:16 +00:00
|
|
|
def install
|
2012-05-15 18:47:30 +00:00
|
|
|
system ENV.cxx, "dcal.c", "-o", "dcal"
|
2015-03-26 09:03:12 +00:00
|
|
|
bin.install "dcal"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/dcal", "-3"
|
2010-08-29 20:25:16 +00:00
|
|
|
end
|
|
|
|
end
|