Files
tigerbrew/Library/Formula/pdflib-lite.rb
T
Juan Sebastian Casallas e4937f53d4 pdflib-lite: Update to 7.0.5
-Updated url and md5 to download the 7.0.5 tarball
-Removed version as it is inferred from the url
-This version no longer fails with llvm

Closes #8895.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-30 12:35:47 -08:00

32 lines
1.1 KiB
Ruby

require 'formula'
class PdflibLite < Formula
url 'http://www.pdflib.com/binaries/PDFlib/705/PDFlib-Lite-7.0.5.tar.gz'
homepage 'http://www.pdflib.com/download/free-software/pdflib-lite/'
md5 '34a1cc89e2cfdc1e43ba57019e442a90'
def install
# Without the following substituion, pdflib-lite runs into weird
# build errors due to bad interactions with the TIFF headers.
# This workaround comes from the MacPorts.org portfile for pdflib.
ENV['CPPFLAGS'] = "-isystem#{prefix}"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-java",
"--without-perl",
"--without-py",
"--without-tcl",
"--without-ruby"
system "make"
system "make install"
def caveats; <<-EOM
pdflib-lite is not open source software; usage restrictions apply!
Be sure to understand and obey the license terms, which can be found at:
http://www.pdflib.com/products/pdflib-family/pdflib-lite/pdflib-lite-licensing/
EOM
end
end
end