7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
15 lines
482 B
Ruby
15 lines
482 B
Ruby
require 'formula'
|
|
|
|
class Duff <Formula
|
|
url 'http://prdownloads.sourceforge.net/duff/duff-0.4.tar.bz2'
|
|
homepage 'http://duff.sourceforge.net/'
|
|
md5 '9767e471232c1b4ee553ae40dbe60464'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}", "--mandir=#{man}"
|
|
# this needs to be executable, but isn't for some reason...
|
|
system "chmod 755 ./install-sh"
|
|
system "make install"
|
|
end
|
|
end
|