require 'formula' class Liblastfm < Formula homepage 'https://github.com/mxcl/liblastfm/' url 'https://github.com/mxcl/liblastfm/tarball/0.3.3' sha1 'f2e9705c9c2cbeaa14f46da9bd35ab36fe710392' depends_on 'qt' depends_on 'fftw' depends_on 'libsamplerate' # See issue #12886. Reported in: https://github.com/mxcl/liblastfm/issues/14 fails_with :clang do build 318 cause 'error: reference to non-static member function must be called' end def install system "./configure", "--release", "--prefix", prefix system "make" system "make install" end end