27 lines
828 B
Ruby
27 lines
828 B
Ruby
class Httpry < Formula
|
|
desc "Packet sniffer for displaying and logging HTTP traffic"
|
|
homepage "https://github.com/jbittel/httpry"
|
|
url "https://github.com/jbittel/httpry/archive/httpry-0.1.8.tar.gz"
|
|
sha256 "b3bcbec3fc6b72342022e940de184729d9cdecb30aa754a2c994073447468cf0"
|
|
head "https://github.com/jbittel/httpry.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha256 "af0deb9d79e72df6369f57ed1050abeb70c62f77ab481232b556ba6da5ace66c" => :yosemite
|
|
sha256 "ec016612be65aa5761213134d211f9bee121d8904dae9b9d73ebfc37d4de3cea" => :mavericks
|
|
sha256 "a554f7789ce0d685a837fa2b795f7936a97603a7c2b915ee6923c0527e8bc1de" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "httpry"
|
|
man1.install "httpry.1"
|
|
doc.install Dir["doc/*"]
|
|
end
|
|
|
|
test do
|
|
system bin/"httpry", "-h"
|
|
end
|
|
end
|