e97fda5d6f
Closes Homebrew/homebrew#20850. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
498 B
Ruby
18 lines
498 B
Ruby
require 'formula'
|
|
|
|
class YoutubeDl < Formula
|
|
homepage 'http://rg3.github.io/youtube-dl/'
|
|
url 'http://youtube-dl.org/downloads/2013.06.34/youtube-dl-2013.06.34.tar.gz'
|
|
sha1 '76a9a5f6a3d057a94c3acc73967f54f60b1ab7a3'
|
|
|
|
def install
|
|
system "make", "youtube-dl", "PREFIX=#{prefix}"
|
|
bin.install 'youtube-dl'
|
|
man1.install 'youtube-dl.1'
|
|
bash_completion.install 'youtube-dl.bash-completion'
|
|
end
|
|
|
|
def caveats
|
|
"To use post-processing options, `brew install ffmpeg`."
|
|
end
|
|
end
|