homebrew-core/Formula/xpdf.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00

22 lines
No EOL
654 B
Ruby

require 'formula'
class Xpdf <Formula
url 'ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz'
homepage 'http://www.foolabs.com/xpdf/'
md5 '599dc4cc65a07ee868cf92a667a913d2'
def patches
[ # security patches, applied sequentially
"ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl1.patch",
"ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2.patch",
"ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl3.patch",
"ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl4.patch"
]
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make"
system "make install"
end
end