2014-05-27 05:14:18 +00:00
|
|
|
require "formula"
|
2012-12-31 03:16:16 +00:00
|
|
|
|
|
|
|
class SvtplayDl < Formula
|
2014-05-27 05:14:18 +00:00
|
|
|
homepage "https://github.com/spaam/svtplay-dl"
|
2014-08-31 20:36:17 +00:00
|
|
|
url "https://github.com/spaam/svtplay-dl/archive/0.9.2014.08.28.tar.gz"
|
|
|
|
sha1 "f29f22f0474774493331c7f3d15a46d0b461574f"
|
2012-12-31 03:16:16 +00:00
|
|
|
|
2014-05-27 05:14:18 +00:00
|
|
|
depends_on "rtmpdump"
|
2012-12-31 03:16:16 +00:00
|
|
|
|
|
|
|
def install
|
2014-05-27 05:14:18 +00:00
|
|
|
bin.install "svtplay-dl"
|
2012-12-31 03:16:16 +00:00
|
|
|
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
|