blob: da2640aaff7029002fe7256f946a1f16e3a137c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Weighttp < Formula
homepage 'http://redmine.lighttpd.net/projects/weighttp/wiki'
url 'https://github.com/lighttpd/weighttp/archive/weighttp-0.3.tar.gz'
sha1 '170b359abd989fe1db26c71e89dc07c3a7caaf05'
head 'git://git.lighttpd.net/weighttp'
depends_on 'libev'
def install
system "./waf", "configure"
system "./waf", "build"
bin.install "build/default/weighttp"
end
test do
system "#{bin}/weighttp", "-n", "1", "http://redmine.lighttpd.net/projects/weighttp/wiki"
end
end
|