homebrew-core/Formula/pdfgrep.rb
Jack Nagel 0a606424a4 New formula: pdfgrep
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12 17:54:44 -05:00

20 lines
508 B
Ruby

require 'formula'
class Pdfgrep < Formula
url 'http://sourceforge.net/projects/pdfgrep/files/1.2/pdfgrep-1.2.tar.gz'
homepage 'http://pdfgrep.sourceforge.net/'
md5 '80dc5159e9776c99af377550da4c907d'
head 'https://git.gitorious.org/pdfgrep/pdfgrep.git'
depends_on 'pkg-config' => :build
depends_on 'poppler'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/pdfgrep --version"
end
end