2011-05-17 17:29:08 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Amap < Formula
|
|
|
|
homepage 'http://www.thc.org/thc-amap/'
|
2012-02-13 05:09:41 +00:00
|
|
|
url 'http://www.thc.org/releases/amap-5.4.tar.gz'
|
2011-05-17 17:29:08 +00:00
|
|
|
md5 '2617c13b0738455c0e61c6e980b8decc'
|
|
|
|
|
|
|
|
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
|