homebrew-core/Formula/youtube-dl.rb
Misty De Meo 4be3f45676 youtube-dl: revert Python 2.x and 3.x support
This makes youtube-dl harder to use as just a script, and people who
need it to call it from python can just install via pip.

This reverts commit e83a9bec485e218dd449df93c5564c834fde1a2a.
2013-06-08 12:59:46 -05:00

18 lines
498 B
Ruby

require 'formula'
class YoutubeDl < Formula
homepage 'http://rg3.github.io/youtube-dl/'
url 'http://youtube-dl.org/downloads/2013.05.23/youtube-dl-2013.05.23.tar.gz'
sha1 '68e70bf1f285536e84e4fdf71c3d27fefd830612'
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