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

class Libechonest < Formula
  homepage 'https://projects.kde.org/projects/playground/libs/libechonest'
  url 'http://files.lfranchi.com/libechonest-2.2.0.tar.bz2'
  sha1 'fec281d9288c2a4fabd2dd275f1a508dd6d1bc5c'

  bottle do
    cellar :any
    revision 1
    sha1 "c28f255845403371492620b020672e8e64d19b9b" => :yosemite
    sha1 "12ab88fa73e2c0ab2650972f31a446c0ea90bb62" => :mavericks
    sha1 "1ae85cce12862896bcc2d28509854dd8e6b3d9be" => :mountain_lion
  end

  depends_on 'cmake' => :build
  depends_on 'qt'
  depends_on 'qjson'

  conflicts_with 'doxygen', :because => "cmake fails to configure build."

  def install
    system "cmake", ".", *std_cmake_args
    system "make install"
  end
end