aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/svtplay-dl.rb
blob: e5a5bca0bcc9c1e9c65cfe097f27e31026a214e9 (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.01.28.tar.gz"
  sha1 "13dd5d05c5cd7b0166c74df434b88d28885ec4c4"

  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