homebrew-core/Formula/comparepdf.rb

20 lines
461 B
Ruby

require 'formula'
class Comparepdf < Formula
homepage 'http://www.qtrac.eu/comparepdf.html'
url 'http://www.qtrac.eu/comparepdf-1.0.1.tar.gz'
sha1 '01774dac78dca9b712d55bfdbaf58c4b0bd31295'
depends_on 'qt'
depends_on 'poppler' => 'with-qt4'
def install
# Generate makefile and disable .app creation
system 'qmake -spec macx-g++ CONFIG-=app_bundle'
system 'make'
bin.install 'comparepdf'
man1.install 'comparepdf.1'
end
end