New formula: pdfgrep

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2011-10-12 17:50:00 -05:00
parent e3b1f98055
commit 0a606424a4

20
Formula/pdfgrep.rb Normal file
View file

@ -0,0 +1,20 @@
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