aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/svtplay-dl.rb
blob: 8ccb204ca5c03e8dc93ab5ae8bba1f03a547026b (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.8.2012.12.30.tar.gz'
  sha1 '0ce48fe7a43419243e1bd20c7c65d1cece00b478'

  depends_on 'rtmpdump'

  def install
    bin.install 'svtplay_dl.py' => "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