homebrew-core/Formula/icecast.rb
Adam Vandenberg 95d9785ff5 Clean ups to several formulas, including:
* Removing silly concatenation
* Removing .bat files before installing
* Removing silly quoting
* Fixing download URLs
* Removing explicit versions
2010-04-17 18:24:02 -07:00

21 lines
558 B
Ruby

require 'formula'
class Icecast <Formula
url 'http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz'
homepage 'http://www.icecast.org/'
md5 'ff516b3ccd2bcc31e68f460cd316093f'
depends_on 'libogg' => :optional
depends_on 'theora' => :optional
depends_on 'speex' => :optional
depends_on 'libvorbis'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
(prefix+'var/log/icecast').mkpath
touch prefix+'var/log/icecast/error.log'
end
end