Skip to content

Commit

Permalink
pdfgrep: fix HEAD build
Browse files Browse the repository at this point in the history
The remaining error in the HEAD build is due to Homebrew's version of
poppler (0.29.0) not being new enough.  An update to poppler has been in
the works for a while (see Homebrew#37280).

Closes Homebrew#39301.

Signed-off-by: Xu Cheng <[email protected]>
  • Loading branch information
L2G authored and xu-cheng committed May 5, 2015
1 parent 0c65338 commit 9a2b906
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Library/Formula/pdfgrep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ class Pdfgrep < Formula
url "https://downloads.sourceforge.net/project/pdfgrep/1.3.1/pdfgrep-1.3.1.tar.gz"
sha1 "8d15760af0803ccea32760d5f68abe4224169639"

head "https://git.gitorious.org/pdfgrep/pdfgrep.git"
head do
url "https://gitlab.com/pdfgrep/pdfgrep.git"
depends_on "automake" => :build
depends_on "autoconf" => :build
depends_on "asciidoc" => :build
end

bottle do
cellar :any
Expand All @@ -16,7 +21,9 @@ class Pdfgrep < Formula
depends_on "poppler"

def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
ENV["XML_CATALOG_FILES"] = "#{HOMEBREW_PREFIX}/etc/xml/catalog"
system "make", "install"
end

Expand Down

0 comments on commit 9a2b906

Please sign in to comment.