2009-12-27 11:29:02 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Remind <Formula
|
2010-07-14 09:37:56 +00:00
|
|
|
url 'http://www.roaringpenguin.com/files/download/remind-03.01.09.tar.gz'
|
2009-12-27 11:29:02 +00:00
|
|
|
homepage 'http://www.roaringpenguin.com/products/remind'
|
2010-07-14 09:37:56 +00:00
|
|
|
md5 '261a5fb774a1d671cc71e36fd0ea02b3'
|
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
|