2009-12-27 11:29:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Remind < Formula
|
2012-01-26 18:29:28 +00:00
|
|
|
url 'http://www.roaringpenguin.com/files/download/remind-03.01.12.tar.gz'
|
2009-12-27 11:29:02 +00:00
|
|
|
homepage 'http://www.roaringpenguin.com/products/remind'
|
2012-01-26 18:29:28 +00:00
|
|
|
md5 'de16cbfc3ee94defcb1abdf78b2ebcd1'
|
2009-12-27 11:29:02 +00:00
|
|
|
|
|
|
|
def install
|
2010-07-27 22:08:16 +00:00
|
|
|
# Remove unnecessary sleeps when running on Apple
|
|
|
|
inreplace "configure", "sleep 1", "true"
|
2010-09-13 22:41:08 +00:00
|
|
|
inreplace "src/init.c" do |s|
|
|
|
|
s.gsub! "sleep(5);", ""
|
|
|
|
s.gsub! /rkrphgvba\(.\);/, ""
|
|
|
|
end
|
2010-07-14 09:37:56 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-12-27 11:29:02 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|