mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 20:29:40 -05:00
Update calcurse to version 2.9.2. Update to the new homepage. Update to the new tarball location. Remove patches merged upstream. Remove ENV.O3 flag, which is the default now. Remove mandir, which is fixed upstream. Compiles and runs on Snow Leopard using XCode-4.0.2, clang, & llvm. Closes #8486. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
449 B
Ruby
18 lines
449 B
Ruby
require 'formula'
|
|
|
|
class Calcurse < Formula
|
|
url 'http://calcurse.org/files/calcurse-2.9.2.tar.gz'
|
|
homepage 'http://calcurse.org/'
|
|
md5 '5cb7d9c9edddc551fc62c9c5733591c5'
|
|
|
|
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
|