e54041c641
Closes Homebrew/homebrew#17507. 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.02.01/youtube-dl-2013.02.01.tar.gz'
|
|
sha1 '0508c846868d885b408c4cd2dbd8b29ab1211617'
|
|
|
|
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
|