New formula: pdfgrep
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
e3b1f98055
commit
0a606424a4
1 changed files with 20 additions and 0 deletions
20
Formula/pdfgrep.rb
Normal file
20
Formula/pdfgrep.rb
Normal 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
|
Loading…
Reference in a new issue