homebrew-core/Formula/xstow.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

25 lines
669 B
Ruby

require 'formula'
class Xstow < Formula
homepage 'http://xstow.sourceforge.net/'
url 'https://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