aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSteve Hoeksema2010-11-27 11:20:18 +1300
committerMike McQuaid2010-12-02 00:32:20 +0000
commit08c5414ae5d828443970a08d95631c36fdd12b78 (patch)
tree3238c1c0bb251578d65ee117d7e86917e04a8268 /Library
parent9e0a571e26e32ef86b6e60415f18a9810429d371 (diff)
downloadhomebrew-08c5414ae5d828443970a08d95631c36fdd12b78.tar.bz2
Add Detox 1.2.0
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/detox.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/detox.rb b/Library/Formula/detox.rb
new file mode 100644
index 000000000..519526143
--- /dev/null
+++ b/Library/Formula/detox.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Detox <Formula
+ url 'http://downloads.sourceforge.net/project/detox/detox/1.2.0/detox-1.2.0.tar.bz2'
+ homepage 'http://detox.sourceforge.net/'
+ md5 'da34c6bc3c68ce2fb008e25066e72927'
+
+ def install
+ system "./configure", "--mandir=#{man}", "--prefix=#{prefix}"
+ system "make"
+ FileUtils.mkdir(prefix + "etc")
+ FileUtils.mkdir_p(prefix + "share/detox")
+ system "make install"
+ end
+end \ No newline at end of file