2010-01-31 21:36:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Calcurse < Formula
|
2011-11-07 07:43:43 +00:00
|
|
|
homepage 'http://calcurse.org/'
|
2013-11-10 02:25:21 +00:00
|
|
|
url 'http://calcurse.org/files/calcurse-3.1.4.tar.gz'
|
|
|
|
sha1 '5cf0cc458d6508d38aa57a12170499449f09bfd2'
|
2010-01-31 21:36:02 +00:00
|
|
|
|
|
|
|
depends_on 'gettext'
|
|
|
|
|
2013-11-10 02:25:21 +00:00
|
|
|
# Patch sent upstream: https://github.com/cryptocrack/calcurse/pull/1
|
2014-03-17 00:35:06 +00:00
|
|
|
patch do
|
2014-04-11 23:07:51 +00:00
|
|
|
url "https://github.com/jacknagel/calcurse/commit/86dd23f87bcbb32a69f5f0391439238d4e389d77.diff"
|
|
|
|
sha1 "d9a1036c230e6c8a4702c7a05da6277bac9c4a31"
|
2012-12-23 19:47:28 +00:00
|
|
|
end
|
|
|
|
|
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"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|