homebrew-core/Formula/jcal.rb

22 lines
533 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'
md5 'd4f94ee612494cd0ab0cf1f537aaa33b'
def install
system "/bin/sh autogen.sh"
system "./configure", "--prefix=#{prefix}",
"--disable-debug",
"--disable-dependency-tracking"
system "make"
system "make install"
end
def test
2012-02-14 05:45:51 +00:00
system "#{bin}/jcal -y"
system "#{bin}/jdate"
end
end