diff options
| author | Justin Hart | 2011-10-12 13:57:38 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-11-12 18:46:58 -0600 |
| commit | 25da8e726c71af510d9bf00a79cb00e6a4fcf4bb (patch) | |
| tree | 202495ad197994626c5148c458ac8d3141987e32 /Library | |
| parent | 68ac31131241fda6f2ce057370c768722ca441f7 (diff) | |
| download | homebrew-25da8e726c71af510d9bf00a79cb00e6a4fcf4bb.tar.bz2 | |
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 #8092.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/daemon.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/daemon.rb b/Library/Formula/daemon.rb new file mode 100644 index 000000000..df6d22d60 --- /dev/null +++ b/Library/Formula/daemon.rb @@ -0,0 +1,17 @@ +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 |
