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/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'cfb88a1adefaf4ee3933baf9a6530c102baa47ce'
|
2010-11-26 22:20:18 +00:00
|
|
|
|
|
|
|
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
|