homebrew-core/Formula/icecast.rb
DataSurfer b97ebcf2bb icecast 2.3.3
Closes Homebrew/homebrew#13724.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-29 09:20:57 -07:00

23 lines
611 B
Ruby

require 'formula'
class Icecast < Formula
homepage 'http://www.icecast.org/'
url 'http://downloads.xiph.org/releases/icecast/icecast-2.3.3.tar.gz'
sha1 '61cf1bd5b4ed491aad488dc6cf1ca2d8eb657363'
depends_on 'pkg-config' => :build
depends_on 'libogg' => :optional
depends_on 'theora' => :optional
depends_on 'speex' => :optional
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