27 lines
776 B
Ruby
27 lines
776 B
Ruby
require 'formula'
|
|
|
|
class Libshout < Formula
|
|
desc "Data and connectivity library for the icecast server"
|
|
homepage 'http://www.icecast.org/'
|
|
url 'http://downloads.xiph.org/releases/libshout/libshout-2.3.1.tar.gz'
|
|
sha1 '147c5670939727420d0e2ad6a20468e2c2db1e20'
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha1 "2930b7d9284829191c5ebbcbda184654b215a12b" => :yosemite
|
|
sha1 "6e72e6169d9e0b332135e4b123b0989cea80ee7a" => :mavericks
|
|
sha1 "946c3352ba99927dcb798c44b77928128fffd653" => :mountain_lion
|
|
end
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libogg'
|
|
depends_on 'libvorbis'
|
|
depends_on 'theora'
|
|
depends_on 'speex'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|