5cce63e6da
Remind that ffmpeg is needed if you want to use the post-processing options. Closes Homebrew/homebrew#17283. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
516 B
Ruby
18 lines
516 B
Ruby
require 'formula'
|
|
|
|
class YoutubeDl < Formula
|
|
homepage 'http://rg3.github.com/youtube-dl/'
|
|
url 'http://youtube-dl.org/downloads/2013.01.13/youtube-dl-2013.01.13.tar.gz'
|
|
sha1 '99b580d1623d81f37bd022f39f1f45177b8e9c5f'
|
|
|
|
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
|