aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/liblastfm.rb
blob: c7da8046eb8571defc7b47f77b7ccee01ba395cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'formula'

class Liblastfm < Formula
  homepage 'https://github.com/mxcl/liblastfm/'
  url 'https://github.com/mxcl/liblastfm/tarball/0.3.3'
  md5 'fe339bf46aefc515c251200d10262f79'

  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