homebrew-core/Formula/daemon.rb
Dominyk Tiller c4d9c2a99c formule: migrate various patches (part 1)
a2ps: migrate patches
argp-standalone: migrate patch
autotrace: migrate patches
avidemux: reference secure link
bibtex2html: migrate patches
bsdmake: migrate patches
cctools: migrate patches
cdparanoia: migrate patches
cdrdao: reference secure links
center-im: migrate patch
clisp: migrate patch
clucene: migrate patches
cvs: migrate to sha256
daemon: migrate patch
dvdrtools: migrate patches
exim: style nits
exim: migrate option
ghostscript: migrate patch
glib: migrate patch
gpsd: migrate patch
graphviz: migrate patch
gtkglext: migrate patches
gupnp: migrate patch
hping: migrate patches
id3lib: migrate patches
jigdo: migrate patch
jove: migrate patch
ld64: migrate patches
libcanberra: migrate patch
libgcrypt: migrate patch
libinfinity: migrate patch
liblinear: migrate patch
libmms: migrate patch
libnet: migrate patch
lsdvd: migrate patches
2015-10-07 19:36:24 +01:00

24 lines
759 B
Ruby

class Daemon < Formula
desc "Turn other processes into daemons"
homepage "http://libslack.org/daemon/"
url "http://libslack.org/daemon/download/daemon-0.6.4.tar.gz"
sha256 "c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1"
# fixes for mavericks strlcpy/strlcat: https://trac.macports.org/ticket/42845
if MacOS.version >= :mavericks
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/3323958/daemon/daemon-0.6.4-ignore-strlcpy-strlcat.patch"
sha256 "a56e16b0801a13045d388ce7e755b2b4e40288c3731ce0f92ea879d0871782c0"
end
end
def install
system "./config"
system "make"
system "make", "PREFIX=#{prefix}", "install"
end
test do
system "#{bin}/daemon", "--version"
end
end