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

class Libshout <Formula
  url 'http://downloads.us.xiph.org/releases/libshout/libshout-2.2.2.tar.gz'
  homepage 'http://www.icecast.org/'
  md5 '4f75fc9901c724b712c371c9a1e782d3'

  depends_on 'pkg-config'
  depends_on 'libogg'
  depends_on 'libvorbis'

  depends_on 'theora' => :optional
  depends_on 'speex'  => :optional

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end