homebrew-core/Formula/uptimed.rb
Jack Nagel d6756e4e5e uptimed: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:42 -05:00

18 lines
568 B
Ruby

require 'formula'
class Uptimed < Formula
url 'http://podgorny.cz/uptimed/releases/uptimed-0.3.12.tar.bz2'
homepage 'http://podgorny.cz/moin/Uptimed'
sha1 '753ab59bb99d7b88a35174ce83081ad0bb224e56'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
# Per MacPorts
inreplace "Makefile", "/var/spool/uptimed", "#{var}/uptimed"
inreplace "libuptimed/urec.h", "/var/spool", var
inreplace "etc/uptimed.conf-dist", "/var/run", "#{var}/uptimed"
system "make install"
end
end