aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/amap.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/amap.rb b/Library/Formula/amap.rb
new file mode 100644
index 000000000..06877976b
--- /dev/null
+++ b/Library/Formula/amap.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Amap < Formula
+ url 'http://www.thc.org/releases/amap-5.4.tar.gz'
+ homepage 'http://www.thc.org/thc-amap/'
+ md5 '2617c13b0738455c0e61c6e980b8decc'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+
+ # --prefix doesn't work as we want it to so install manually
+ bin.install ["amap", "amap6", "amapcrap"]
+ man1.install "amap.1"
+ end
+end