homebrew-core/Formula/daemon.rb
Justin Hart 8138230ac3 New formula: daemon 0.6.4
Daemon turns other processes into daemons. There are many tasks that
need to be performed to correctly set up a daemon process. This can be
tedious.  Daemon performs these tasks for other processes. This is
useful for writing daemons in languages other than C, C++ or Perl (e.g.
/bin/sh, Java).

Closes Homebrew/homebrew#8092.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-12 18:46:58 -06:00

17 lines
351 B
Ruby

require 'formula'
class Daemon < Formula
url 'http://libslack.org/daemon/download/daemon-0.6.4.tar.gz'
homepage 'http://libslack.org/daemon/'
md5 '6cd0a28630a29ac279bc501f39baec66'
def install
system "./config"
system "make"
system "make PREFIX=#{prefix} install"
end
def test
system "#{bin}/daemon --version"
end
end