aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/detox.rb
blob: 6c17ea1845b4d65aa2ebb2dcbd699a1775940ebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/'
  sha1 'cfb88a1adefaf4ee3933baf9a6530c102baa47ce'

  def install
    system "./configure", "--mandir=#{man}", "--prefix=#{prefix}"
    system "make"
    (prefix + "etc").mkpath
    (share + "detox").mkpath
    system "make install"
  end
end