homebrew-core/Formula/xpdf.rb
Mcklaren 5cf7d64e00 xpdf - Add latest security patch
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-09 17:49:03 -08:00

25 lines
785 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",
"ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl5.patch"
]
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make install"
end
end