homebrew-core/Formula/amap.rb

27 lines
685 B
Ruby
Raw Normal View History

require "formula"
class Amap < Formula
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
depends_on "openssl"
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"
man1.install "amap.1"
end
end