2014-01-27 23:06:32 +00:00
|
|
|
class Darkhttpd < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Small static webserver without CGI"
|
2015-10-17 08:21:47 +00:00
|
|
|
homepage "https://unix4lyfe.org/darkhttpd/"
|
|
|
|
url "https://unix4lyfe.org/darkhttpd/darkhttpd-1.10.tar.bz2"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "b5a9bcfe6e65a3fc20f96e6badb5da7ba776a792f13fe90015fe9f63b3c2eb63"
|
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
|