2010-11-26 22:20:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Detox < Formula
|
2010-11-26 22:20:18 +00:00
|
|
|
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"
|
2010-12-05 02:39:42 +00:00
|
|
|
(prefix + "etc").mkpath
|
|
|
|
(share + "detox").mkpath
|
2010-11-26 22:20:18 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|