homebrew-core/Formula/xstow.rb
2015-06-05 14:47:57 +01:00

25 lines
698 B
Ruby

require 'formula'
class Xstow < Formula
desc "Extended replacement for GNU Stow"
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