aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorVille Korhonen2010-05-22 21:25:45 +0300
committerAdam Vandenberg2010-05-22 21:26:04 -0700
commita425f2919feaefd17a8a6eb93a563deea4851dd2 (patch)
tree24b699cbd9eed8f0900ded46de02f9ab3cbd0dbb /Library
parent112da080e2278266677512bf76a542a5effc440b (diff)
downloadhomebrew-a425f2919feaefd17a8a6eb93a563deea4851dd2.tar.bz2
Added formula for pdnsd, caching DNS server
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pdnsd.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/pdnsd.rb b/Library/Formula/pdnsd.rb
new file mode 100644
index 000000000..170ddad21
--- /dev/null
+++ b/Library/Formula/pdnsd.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Pdnsd <Formula
+ url 'http://www.phys.uu.nl/~rombouts/pdnsd/releases/pdnsd-1.2.8-par.tar.gz'
+ version '1.2.8-par'
+ homepage 'http://www.phys.uu.nl/~rombouts/pdnsd.html'
+ md5 '779c5d19576e561fbf2455de435e5597'
+
+ def install
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--localstatedir=#{var}",
+ "--sysconfdir=#{etc}",
+ "--with-cachedir=#{var}/cache/pdnsd"
+ system "make install"
+ end
+end