homebrew-core/Formula/calcurse.rb

23 lines
553 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Calcurse < Formula
homepage 'http://calcurse.org/'
2013-01-27 02:03:48 +00:00
url 'http://calcurse.org/files/calcurse-2.9.2.tar.gz'
sha1 'ab59b3275a9b7eb9184797f9e998e64783b03ceb'
depends_on 'gettext'
fails_with :clang do
2013-05-06 19:26:54 +00:00
build 425
cause "Issue with macro expansion in htable.h"
end
def install
# need this flag otherwise there is a build error.
ENV.append 'CFLAGS', "-fnested-functions"
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make install"
end
end