homebrew-core/Formula/detox.rb

16 lines
409 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Detox < Formula
homepage 'http://detox.sourceforge.net/'
2013-01-27 22:09:01 +00:00
url 'http://downloads.sourceforge.net/project/detox/detox/1.2.0/detox-1.2.0.tar.bz2'
sha1 'cfb88a1adefaf4ee3933baf9a6530c102baa47ce'
def install
system "./configure", "--mandir=#{man}", "--prefix=#{prefix}"
system "make"
2013-01-27 22:09:01 +00:00
(prefix/"etc").mkpath
(share/"detox").mkpath
system "make install"
end
2011-03-10 05:11:03 +00:00
end