2014-01-27 23:06:32 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class Darkhttpd < Formula
|
|
|
|
homepage "http://unix4lyfe.org/darkhttpd/"
|
2014-07-15 03:37:00 +00:00
|
|
|
url "http://unix4lyfe.org/darkhttpd/darkhttpd-1.10.tar.bz2"
|
|
|
|
sha1 "95443b7374817137e58e28ebfff47d322cfbad25"
|
2014-01-27 23:06:32 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "darkhttpd"
|
|
|
|
end
|
2014-07-15 03:37:00 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/darkhttpd", "--help"
|
|
|
|
end
|
2014-01-27 23:06:32 +00:00
|
|
|
end
|