2011-03-10 05:11:03 +00:00
|
|
|
class Calcurse < Formula
|
2015-03-13 09:25:14 +00:00
|
|
|
homepage "http://calcurse.org/"
|
|
|
|
url "http://calcurse.org/files/calcurse-4.0.0.tar.gz"
|
|
|
|
sha256 "621b0019907618bd468f9c4dc1ce2186ee86254d3c9ade47dd2d7ab8e6656334"
|
2010-01-31 21:36:02 +00:00
|
|
|
|
2015-03-13 09:25:14 +00:00
|
|
|
depends_on "gettext"
|
2010-01-31 21:36:02 +00:00
|
|
|
|
|
|
|
def install
|
2011-11-07 07:43:43 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2010-01-31 21:36:02 +00:00
|
|
|
system "make"
|
2015-03-13 09:25:14 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"calcurse", "-v"
|
2010-01-31 21:36:02 +00:00
|
|
|
end
|
|
|
|
end
|