pdf2json: remove unused dependency
Only install the pdf2json binary. Closes Homebrew/homebrew#16871. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
364e8381a7
commit
1047435135
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue