aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lastfm_fplib.rb
blob: 13d12fb541178cad4e403e487713aba3005da5ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class LastfmFplib < Formula
  homepage 'http://blog.last.fm/2007/08/29/audio-fingerprinting-for-clean-metadata'
  head 'svn://svn.audioscrobbler.net/recommendation/MusicID/lastfm_fplib'

  depends_on 'cmake' => :build
  depends_on 'taglib'
  depends_on 'mad'
  depends_on 'libsamplerate'
  depends_on 'fftw'

  def install
    Formula.factory("lastfmfpclient").inreplace_fix
    system "cmake", ".", *std_cmake_args
    system "make install"
  end
end