homebrew-core/Formula/qpdf.rb
Brett Koonce 5ac05fb42f qpdf 5.1.1
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-16 16:58:55 +00:00

22 lines
510 B
Ruby

require 'formula'
class Qpdf < Formula
homepage 'http://qpdf.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/qpdf/qpdf/5.1.1/qpdf-5.1.1.tar.gz'
sha1 'e407a73bbaf6b1681e0952342e6d66a7746045c3'
depends_on 'pcre'
def install
# find Homebrew's libpcre
ENV.append 'LDFLAGS', "-L#{Formula.factory('pcre').opt_prefix}/lib"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
test do
system "#{bin}/qpdf", "--version"
end
end