29 lines
700 B
Ruby
29 lines
700 B
Ruby
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"
|
|
|
|
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
|