diff options
| author | Jaime Marquínez Ferrándiz | 2014-05-18 09:54:08 +0200 |
|---|---|---|
| committer | Jack Nagel | 2014-05-19 23:12:26 -0500 |
| commit | 70fa43980e3a92b9d40d7595223a90467e96193d (patch) | |
| tree | 4e76871afea40bf0cbc87990e5456709ebed43f8 /Library/Formula | |
| parent | 369a018b35562dafe6a3795b67d7c7acd6634a76 (diff) | |
| download | homebrew-70fa43980e3a92b9d40d7595223a90467e96193d.tar.bz2 | |
youtube-dl: Add HEAD
Closes #29360.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/youtube-dl.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/youtube-dl.rb b/Library/Formula/youtube-dl.rb index e7cceb3ea..06a3c0182 100644 --- a/Library/Formula/youtube-dl.rb +++ b/Library/Formula/youtube-dl.rb @@ -15,10 +15,17 @@ class YoutubeDl < Formula sha1 "dd26274166e03a674fc96b1cb37fb7023d119cda" => :lion end + head do + url "https://github.com/rg3/youtube-dl.git" + depends_on "pandoc" => :build + end + depends_on "rtmpdump" => :optional def install - system "make", "youtube-dl", "PREFIX=#{prefix}" + # Remove the legacy executable from the git repo + rm "youtube-dl" if build.head? + system "make", "PREFIX=#{prefix}" bin.install "youtube-dl" man1.install "youtube-dl.1" bash_completion.install "youtube-dl.bash-completion" |
