aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-10-12 17:50:00 -0500
committerJack Nagel2011-10-12 17:54:44 -0500
commit8f806770d56b1d0690b9a97c1ad8e916dd76b958 (patch)
tree2a4c7d9f149adb28a58bd50024070942a8d19a8f /Library
parentb9bdce752ca5997b7f3031a074d6979c91f945ca (diff)
downloadhomebrew-8f806770d56b1d0690b9a97c1ad8e916dd76b958.tar.bz2
New formula: pdfgrep
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pdfgrep.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/pdfgrep.rb b/Library/Formula/pdfgrep.rb
new file mode 100644
index 000000000..4ea7197b0
--- /dev/null
+++ b/Library/Formula/pdfgrep.rb
@@ -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