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

class SvtplayDl < Formula
  homepage "https://github.com/spaam/svtplay-dl"
  url "https://github.com/spaam/svtplay-dl/archive/0.10.2015.03.25.tar.gz"
  sha1 "2de30ed457395c8eccb3e86261f8f9986672cdf8"

  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.
    EOS
  end
end