6a4b69be7e
Closes Homebrew/homebrew#24596. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
502 B
Ruby
18 lines
502 B
Ruby
require 'formula'
|
|
|
|
class YoutubeDl < Formula
|
|
homepage 'http://rg3.github.io/youtube-dl/'
|
|
url 'http://youtube-dl.org/downloads/2013.11.22.1/youtube-dl-2013.11.22.1.tar.gz'
|
|
sha1 '5a886a0153bbee4fe5550034e5a4adabbdc1babe'
|
|
|
|
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
|