29 lines
853 B
Ruby
29 lines
853 B
Ruby
require 'formula'
|
|
|
|
class Icecast < Formula
|
|
homepage 'http://www.icecast.org/'
|
|
url 'http://downloads.xiph.org/releases/icecast/icecast-2.4.1.tar.gz'
|
|
sha1 '0ec1a6470554cccd9ca48488776a26887e9b9a5e'
|
|
|
|
bottle do
|
|
sha1 "4d8aa258bc5b436e07344442b24a710edc0cf091" => :yosemite
|
|
sha1 "0d675d07513a25207e78bfa8b08c9767fd93bee2" => :mavericks
|
|
sha1 "e8266c13690455fda50e78e550c74db16eb8b475" => :mountain_lion
|
|
end
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'libogg' => :optional
|
|
depends_on 'theora' => :optional
|
|
depends_on 'speex' => :optional
|
|
depends_on 'openssl'
|
|
depends_on 'libvorbis'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
|
|
(prefix+'var/log/icecast').mkpath
|
|
touch prefix+'var/log/icecast/error.log'
|
|
end
|
|
end
|