c97af58fb3
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
21 lines
516 B
Ruby
21 lines
516 B
Ruby
require 'formula'
|
|
|
|
class Pdfgrep < Formula
|
|
homepage 'http://pdfgrep.sourceforge.net/'
|
|
url 'http://sourceforge.net/projects/pdfgrep/files/1.3.0/pdfgrep-1.3.0.tar.gz'
|
|
md5 '07d2819dd11b0f92278df11a95221833'
|
|
|
|
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
|