homebrew-core/Formula/detox.rb

17 lines
474 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Detox < Formula
desc "Utility to replace problematic characters in filenames"
homepage 'http://detox.sourceforge.net/'
url 'https://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