homebrew-core/Formula/remind.rb
James Snyder 6ec158bdd0 remind 03.01.12
Update remind to 03.01.12, also remove useragent adjustment since it
seems to no longer be necessary.

Closes Homebrew/homebrew#9798.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-26 18:28:11 -06:00

19 lines
601 B
Ruby

require 'formula'
class Remind < Formula
url 'http://www.roaringpenguin.com/files/download/remind-03.01.12.tar.gz'
homepage 'http://www.roaringpenguin.com/products/remind'
md5 'de16cbfc3ee94defcb1abdf78b2ebcd1'
def install
# Remove unnecessary sleeps when running on Apple
inreplace "configure", "sleep 1", "true"
inreplace "src/init.c" do |s|
s.gsub! "sleep(5);", ""
s.gsub! /rkrphgvba\(.\);/, ""
end
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end