blob: eb3fee9858ef9083ab3e1e2e631f276096898bc7 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 | require 'formula'
class Sam2p < Formula
  homepage 'http://code.google.com/p/sam2p/'
  url 'https://sam2p.googlecode.com/files/sam2p-0.49.2.tar.gz'
  sha1 'a26db7408dfa42ab615d087774128cc5b20ab61d'
  fails_with :clang do
    cause "treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated"
  end
  def install
    system "./configure", "--disable-debug",
                          "--prefix=#{prefix}",
                          "--enable-lzw",
                          "--enable-gif"
    system "make"
    bin.install "sam2p"
    bin.install "sam2p_pdf_scale.pl"
  end
end
 |