homebrew-core/Formula/xpdf.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

19 lines
No EOL
457 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 install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make"
system "make install"
end
def patches
# latest security patch
["ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl3.patch"]
end
end