uptimed 0.3.12
This commit is contained in:
parent
756a98357a
commit
199e3f3968
1 changed files with 18 additions and 0 deletions
18
Formula/uptimed.rb
Normal file
18
Formula/uptimed.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
require 'formula'
|
||||
|
||||
class Uptimed <Formula
|
||||
url 'http://podgorny.cz/uptimed/releases/uptimed-0.3.12.tar.bz2'
|
||||
homepage 'http://podgorny.cz/moin/Uptimed'
|
||||
md5 'c523d6434b672107ea00559bb38eb050'
|
||||
|
||||
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
|
Loading…
Reference in a new issue