aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/vgmstream.rb
blob: a83281dd807ba34c72c0b75996a52b8666ab6ac2 (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
require "formula"

class Vgmstream < Formula
  homepage "http://hcs64.com/vgmstream.html"
  url "http://svn.code.sf.net/p/vgmstream/code", :revision => 1040
  version "r1040"

  bottle do
    cellar :any
    sha256 "314ab31528d85117117a4610a1f023b22686a565997357df92ceff52e4085013" => :yosemite
    sha256 "65522c757a6ce8392496e71279fa553074dc2b765d56a80b1709b58d1a56e704" => :mavericks
    sha256 "8e9771faf488616e96a159ee3d3681549f58ee240385c55f8a13be507e8a5a6a" => :mountain_lion
  end

  depends_on "mpg123"
  depends_on "libvorbis"

  def install
    cd "test" do
      system "make"
      bin.install "test" => "vgmstream"
      lib.install "../src/libvgmstream.a"
    end
  end
end