aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/echoprint-codegen.rb
blob: fcbc84cccc7859aae2e6b4771f40a42d0aa2f55a (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
27
28
29
30
class EchoprintCodegen < Formula
  homepage "http://echoprint.me"
  url "https://github.com/echonest/echoprint-codegen/archive/v4.12.tar.gz"
  sha256 "c40eb79af3abdb1e785b6a48a874ccfb0e9721d7d180626fe29c72a29acd3845"
  head "https://github.com/echonest/echoprint-codegen.git"

  bottle do
    cellar :any
    revision 1
    sha1 "64d6275b2830c9eb0543e2a0cb9c9807a3fc8995" => :yosemite
    sha1 "f0f20a5b66a1dd4f16b5676c0593ebb8872f20fb" => :mavericks
    sha1 "0a7c0d80cfe1213e2831d5bf26351de4886da60a" => :mountain_lion
  end

  revision 1

  depends_on "ffmpeg"
  depends_on "taglib"
  depends_on "boost"

  # Removes unnecessary -framework vecLib; can be removed in the next release
  patch do
    url "https://github.com/echonest/echoprint-codegen/commit/5ac72c40ae920f507f3f4da8b8875533bccf5e02.diff"
    sha1 "d8c2cb81abb5a406795353dbe10e50a2b34986e2"
  end

  def install
    system "make", "-C", "src", "install", "PREFIX=#{prefix}"
  end
end