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

class Libshout < Formula
  homepage 'http://www.icecast.org/'
  url 'http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz'
  sha1 '147c5670939727420d0e2ad6a20468e2c2db1e20'

  depends_on 'pkg-config' => :build
  depends_on 'libogg'
  depends_on 'libvorbis'

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

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