blob: dd38a03ebdd886b07413f462724c486706955373 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | require 'formula'
class Xstow < Formula
  homepage 'http://xstow.sourceforge.net/'
  url 'https://downloads.sourceforge.net/project/xstow/xstow-1.0.2.tar.bz2'
  sha1 '3b11025d4ec7b673ab149de6537059800816b4ed'
  fails_with :clang do
    cause <<-EOS.undent
      clang does not support unqualified lookups in c++ templates, see:
      http://clang.llvm.org/compatibility.html#dep_lookup
      EOS
  end
  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--disable-static", "--prefix=#{prefix}"
    system "make install"
  end
  test do
    system "#{bin}/xstow", "-Version"
  end
end
 |