diff --git a/Formula/dc3dd.rb b/Formula/dc3dd.rb new file mode 100644 index 00000000000..3a7fcc93610 --- /dev/null +++ b/Formula/dc3dd.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Dc3dd < Formula + url 'http://downloads.sourceforge.net/project/dc3dd/dc3dd/7.1.0/dc3dd-7.1.614.tar.gz' + homepage 'http://dc3dd.sourceforge.net/' + md5 'b6c4ec16e7f539b17224d7f334f8396e' + + def patches + # remove explicit dependency on automake 1.10.1 + { :p1 => 'https://raw.github.com/gist/1159050/611c91779ba90edc77b8489e006c96a8e0078462/dc3dd-automake.patch'} + end + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", "--infodir=#{info}" + system "make" + system "make install" + rm (lib+'charset.alias') + prefix.install %w[README Options_Reference.txt Sample_Commands.txt] + end +end