diff options
| author | Hiroaki Nakamura | 2012-11-24 05:31:12 +0900 | 
|---|---|---|
| committer | Adam Vandenberg | 2013-01-17 13:56:13 -0800 | 
| commit | 10e4a588423659be4f5ba1f93ca059eb8fe0f83e (patch) | |
| tree | 993efd42c86b598a81075e61821877a6935ebe85 | |
| parent | 68e6172c6b45460ccef2009d2f491e2ba2be1ab3 (diff) | |
| download | homebrew-10e4a588423659be4f5ba1f93ca059eb8fe0f83e.tar.bz2 | |
weighttp 0.3
Closes #16209.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -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 | 
