diff options
| author | Piotr Kuczynski | 2014-05-14 22:39:14 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-05-18 23:23:45 -0500 |
| commit | 3c396521b0c3beb0498e2c991cb3dcfcab2d98ff (patch) | |
| tree | a87304b0a1bf78922cd542b2727ce321f4810bf5 /Library | |
| parent | 57c70335a4b8c27db02556caf45a5decbbd7259a (diff) | |
| download | homebrew-3c396521b0c3beb0498e2c991cb3dcfcab2d98ff.tar.bz2 | |
New formula: diff-pdf 2.0
Closes #29260.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/diff-pdf.rb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/diff-pdf.rb b/Library/Formula/diff-pdf.rb new file mode 100644 index 000000000..da574fbb0 --- /dev/null +++ b/Library/Formula/diff-pdf.rb @@ -0,0 +1,28 @@ +require "formula" + +class DiffPdf < Formula + homepage "http://vslavik.github.io/diff-pdf/" + url "https://github.com/vslavik/diff-pdf/archive/v0.2.tar.gz" + sha1 "308ea8e92ac609ca88303dce6a6e8403c6b9f11f" + + depends_on "pkg-config" => :build + depends_on "automake" => :build + depends_on "autoconf" => :build + depends_on :x11 + depends_on "wxmac" + depends_on "cairo" + depends_on "poppler" => "with-glib" + + def install + system "./bootstrap" + system "./configure", "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make" + system "make", "install" + end + + test do + system "#{bin}/diff-pdf", "-h" + end +end |
