homebrew-core/Formula/jcal.rb

26 lines
613 B
Ruby
Raw Normal View History

require 'formula'
class Jcal < Formula
2012-02-14 05:45:51 +00:00
homepage 'http://savannah.nongnu.org/projects/jcal/'
url 'http://download.savannah.gnu.org/releases/jcal/jcal-0.4.1.tar.gz'
sha1 '23710a685515e1e824494890d6befac9edf04143'
2013-11-13 17:01:29 +00:00
depends_on :autoconf
2012-07-07 18:08:22 +00:00
depends_on :automake
depends_on :libtool
def install
system "/bin/sh autogen.sh"
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking"
system "make"
system "make install"
end
test do
system "#{bin}/jcal", "-y"
2012-02-14 05:45:51 +00:00
system "#{bin}/jdate"
end
end