homebrew-core/Formula/yle-dl.rb
Hamuko 2df9e3170a yle-dl 2.2.1
Closes Homebrew/homebrew#27906.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-27 11:10:51 +00:00

22 lines
589 B
Ruby

require 'formula'
class YleDl < Formula
homepage 'http://aajanki.github.io/yle-dl/'
url 'https://github.com/aajanki/yle-dl/archive/2.2.1.tar.gz'
sha1 '1622f12e159279e073f1a65bac751206e88e4d57'
head 'https://github.com/aajanki/yle-dl.git'
depends_on 'rtmpdump'
depends_on :python
depends_on "pycrypto" => [:python, "Crypto"]
def install
system "make", "install", "SYS=darwin", "prefix=#{prefix}", "mandir=#{man}"
end
test do
assert_match /rtmpdump: This program dumps the media content streamed over RTMP/,
`#{bin}/yle-dl --help 2>&1`.strip
end
end