homebrew-core/Formula/svtplay-dl.rb

21 lines
507 B
Ruby
Raw Normal View History

require "formula"
class SvtplayDl < Formula
homepage "https://github.com/spaam/svtplay-dl"
url "https://github.com/spaam/svtplay-dl/archive/0.9.2014.08.28.tar.gz"
sha1 "f29f22f0474774493331c7f3d15a46d0b461574f"
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