Permalink
Browse files

pdf2json: remove unused dependency

Only install the pdf2json binary.

Closes #16871.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent b8ac4e3 commit e8c44754123b2b5c6702da61723e3ed48c747e26 @RuiPereira RuiPereira committed with klausmeyer Jan 3, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 Library/Formula/pdf2json.rb
@@ -5,14 +5,12 @@ class Pdf2json < Formula
url 'http://pdf2json.googlecode.com/files/pdf2json-0.61.tar.gz'
sha1 'd7bfcf89ab82741ed014d3499fe7505d7168686d'
- depends_on 'xpdf'
-
def install
system "./configure", "--prefix=#{prefix}"
# Fix manpage install location. See:
# http://code.google.com/p/pdf2json/issues/detail?id=2
inreplace "Makefile", "/man/", "/share/man/"
system "make", "CC=#{ENV.cc}", "CXX=#{ENV.cxx}"
- system "make install"
+ bin.install 'src/pdf2json'
end
end

0 comments on commit e8c4475

Please sign in to comment.