Skip to content

Commit

Permalink
ezstream 0.6.0
Browse files Browse the repository at this point in the history
Closes Homebrew#38905.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
dunn authored and MikeMcQuaid committed Apr 22, 2015
1 parent 0f10922 commit c6ecda6
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions Library/Formula/ezstream.rb
@@ -1,20 +1,34 @@
require 'formula'

class Ezstream < Formula
homepage 'http://www.icecast.org/ezstream.php'
url 'http://downloads.xiph.org/releases/ezstream/ezstream-0.5.6.tar.gz'
sha1 'f9d3ee5a2f81d156685ffbfc59b556c63afcca83'
homepage "http://www.icecast.org/ezstream.php"
url "http://downloads.xiph.org/releases/ezstream/ezstream-0.6.0.tar.gz"
sha256 "f86eb8163b470c3acbc182b42406f08313f85187bd9017afb8b79b02f03635c9"

depends_on "pkg-config" => :build
depends_on "libvorbis"
depends_on "libshout"
depends_on "theora"
depends_on "speex"
depends_on "libogg"

depends_on 'pkg-config' => :build
depends_on 'libvorbis'
depends_on 'libshout'
depends_on 'theora'
depends_on 'speex'
depends_on 'libogg'
resource "stream" do
url "http://dir.xiph.org/listen/5200/listen.m3u"
sha256 "ff44097742f92b73a63332760585217eb357389eea7f92465ff769043d365aea"
end

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

test do
resource("stream").stage do
stream = fork do
system bin/"ezstream", "-s", "listen.m3u"
end
sleep 5
Process.kill("TERM", stream)
end
end
end

0 comments on commit c6ecda6

Please sign in to comment.