95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
14 lines
484 B
Ruby
14 lines
484 B
Ruby
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"
|
|
sha256 "abfad90ee7d3e0fc53ce3b9da3253f9a800cdd92e3f8cc12a19394a7b1dcdbf8"
|
|
|
|
def install
|
|
system "./configure", "--mandir=#{man}", "--prefix=#{prefix}"
|
|
system "make"
|
|
(prefix/"etc").mkpath
|
|
(share/"detox").mkpath
|
|
system "make", "install"
|
|
end
|
|
end
|