homebrew-core/Formula/youtube-dl.rb
Jaime Marquínez Ferrándiz 734355ec7c youtube-dl 2013.04.21
Closes Homebrew/homebrew#19336.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-21 09:55:42 -07:00

18 lines
515 B
Ruby

require 'formula'
class YoutubeDl < Formula
homepage 'http://rg3.github.io/youtube-dl/'
url 'http://youtube-dl.org/downloads/2013.04.21/youtube-dl-2013.04.21.tar.gz'
sha1 '705b884581d36b806c7395b0dafaba4443f56b3d'
def install
system "make", "youtube-dl", "PREFIX=#{prefix}"
bin.install 'youtube-dl'
man1.install 'youtube-dl.1'
(prefix+'etc/bash_completion.d').install 'youtube-dl.bash-completion'
end
def caveats
"To use post-processing options, `brew install ffmpeg`."
end
end