homebrew-core/Formula/pdfgrep.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

21 lines
527 B
Ruby

require 'formula'
class Pdfgrep < Formula
homepage 'http://pdfgrep.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/pdfgrep/1.3.0/pdfgrep-1.3.0.tar.gz'
sha1 'cac20afdea7aee1602b2c33c3d8d36ec171c30bc'
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
test do
system "#{bin}/pdfgrep", "--version"
end
end