aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/xstow.rb
blob: dc05d35b70758d21555ac2b9c5819df8fa6d5eb7 (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
25
require 'formula'

class Xstow < Formula
  homepage 'http://xstow.sourceforge.net/'
  url 'http://downloads.sourceforge.net/project/xstow/xstow-1.0.0.tar.bz2'
  sha1 'e4e68fbf05150067d82ce526cb784c5c91107ec9'

  fails_with :clang do
    build 500
    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