diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/weighttp.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/weighttp.rb b/Library/Formula/weighttp.rb new file mode 100644 index 000000000..4da30fd07 --- /dev/null +++ b/Library/Formula/weighttp.rb @@ -0,0 +1,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 + + def test + system "weighttp -n 1 http://redmine.lighttpd.net/projects/weighttp/wiki" + end +end |
