2014-11-07 23:51:00 +00:00
|
|
|
require "formula"
|
2011-05-17 17:29:08 +00:00
|
|
|
|
|
|
|
class Amap < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Perform application protocol detection"
|
2014-11-07 23:51:00 +00:00
|
|
|
homepage "https://www.thc.org/thc-amap/"
|
|
|
|
url "https://www.thc.org/releases/amap-5.4.tar.gz"
|
|
|
|
sha1 "79056f29a3b9e0a21062116aec3e966b1a46d7d3"
|
|
|
|
revision 1
|
|
|
|
|
2014-11-08 01:55:11 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "3e5f595cd8e8427dd9e644331538be8c39997500" => :yosemite
|
|
|
|
sha1 "8e3eaec3b621aa8cda4f9fae3a80f66bfb53cb47" => :mavericks
|
|
|
|
sha1 "6b625caf2d80f33a9175d1e6370ebff677237c29" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-11-07 23:51:00 +00:00
|
|
|
depends_on "openssl"
|
2011-05-17 17:29:08 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
|
|
|
|
# --prefix doesn't work as we want it to so install manually
|
2012-02-13 05:09:41 +00:00
|
|
|
bin.install "amap", "amap6", "amapcrap"
|
2011-05-17 17:29:08 +00:00
|
|
|
man1.install "amap.1"
|
|
|
|
end
|
|
|
|
end
|