2011-08-20 13:02:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dc3dd < Formula
|
2011-08-21 11:35:26 +00:00
|
|
|
homepage 'http://sourceforge.net/projects/dc3dd/'
|
2012-03-15 00:57:44 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/dc3dd/dc3dd/7.1.0/dc3dd-7.1.614.tar.gz'
|
2011-08-20 13:02:20 +00:00
|
|
|
md5 'b6c4ec16e7f539b17224d7f334f8396e'
|
|
|
|
|
2012-03-15 00:57:44 +00:00
|
|
|
# remove explicit dependency on automake 1.10.1
|
2011-08-20 13:02:20 +00:00
|
|
|
def patches
|
2012-03-15 00:57:44 +00:00
|
|
|
'https://raw.github.com/gist/1159050/611c91779ba90edc77b8489e006c96a8e0078462/dc3dd-automake.patch'
|
2011-08-20 13:02:20 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2012-03-15 00:57:44 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--infodir=#{info}"
|
2011-08-20 13:02:20 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
rm (lib+'charset.alias')
|
|
|
|
prefix.install %w[README Options_Reference.txt Sample_Commands.txt]
|
|
|
|
end
|
|
|
|
end
|