homebrew-core/Formula/calcurse.rb
2012-09-03 11:36:42 -07:00

17 lines
458 B
Ruby

require 'formula'
class Calcurse < Formula
url 'http://calcurse.org/files/calcurse-2.9.2.tar.gz'
homepage 'http://calcurse.org/'
sha1 'ab59b3275a9b7eb9184797f9e998e64783b03ceb'
depends_on 'gettext'
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