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