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-01-27 02:03:48 +00:00
|
|
|
url 'http://calcurse.org/files/calcurse-2.9.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'ab59b3275a9b7eb9184797f9e998e64783b03ceb'
|
2010-01-31 21:36:02 +00:00
|
|
|
|
|
|
|
depends_on 'gettext'
|
|
|
|
|
2012-12-23 19:47:28 +00:00
|
|
|
fails_with :clang do
|
2013-05-06 19:26:54 +00:00
|
|
|
build 425
|
2012-12-23 19:47:28 +00:00
|
|
|
cause "Issue with macro expansion in htable.h"
|
|
|
|
end
|
|
|
|
|
2010-01-31 21:36:02 +00:00
|
|
|
def install
|
2011-11-07 07:43:43 +00:00
|
|
|
# need this flag otherwise there is a build error.
|
|
|
|
ENV.append 'CFLAGS', "-fnested-functions"
|
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2010-01-31 21:36:02 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|