2011-12-04 11:21:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jcal < Formula
|
2012-02-14 05:45:51 +00:00
|
|
|
homepage 'http://savannah.nongnu.org/projects/jcal/'
|
2011-12-04 11:21:18 +00:00
|
|
|
url 'http://download.savannah.gnu.org/releases/jcal/jcal-0.4.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '23710a685515e1e824494890d6befac9edf04143'
|
2011-12-04 11:21:18 +00:00
|
|
|
|
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
|
2012-02-28 15:39:22 +00:00
|
|
|
|
2011-12-04 11:21:18 +00:00
|
|
|
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-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/jcal", "-y"
|
2012-02-14 05:45:51 +00:00
|
|
|
system "#{bin}/jdate"
|
2011-12-04 11:21:18 +00:00
|
|
|
end
|
|
|
|
end
|