2010-11-26 22:20:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Detox < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Utility to replace problematic characters in filenames"
|
2010-11-26 22:20:18 +00:00
|
|
|
homepage 'http://detox.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/detox/detox/1.2.0/detox-1.2.0.tar.bz2'
|
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"
|
2013-01-27 22:09:01 +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
|