aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/svtplay-dl.rb
blob: eb5d517e8bbd0d45f1d087defa03473949dbcae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class SvtplayDl < Formula
  homepage 'https://github.com/spaam/svtplay-dl'
  url 'https://github.com/spaam/svtplay-dl/archive/0.9.2013.05.06.tar.gz'
  sha1 '246c0ccaf1df0656a8d5ee0df8cf14aac2fecd96'

  depends_on 'rtmpdump'

  def install
    bin.install 'svtplay-dl'
  end

  def caveats; <<-EOS.undent
    You need PyCrypto (https://www.dlitz.net/software/pycrypto/) to
    download encrypted HLS streams.
    You need PyAMF (http://www.pyamf.org/) for kanal5play.se.
    EOS
  end
end