From 60502e6bb09c60391ca532d9b100ddc2d6c424d9 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Wed, 15 Jan 2014 19:11:09 +0100 Subject: [PATCH] Corrected recipe As PulkoMandy pointed out the "cmd:make" isn't needed in the BUILD_REQUIRES. Rearranged BUILD() and INSTALL(). --- net-misc/youtube_dl/youtube_dl-2014.01.08.recipe | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/net-misc/youtube_dl/youtube_dl-2014.01.08.recipe b/net-misc/youtube_dl/youtube_dl-2014.01.08.recipe index 9cd910ac4..d36f33b21 100644 --- a/net-misc/youtube_dl/youtube_dl-2014.01.08.recipe +++ b/net-misc/youtube_dl/youtube_dl-2014.01.08.recipe @@ -27,7 +27,6 @@ BUILD_REQUIRES=" haiku_devel >= $haikuVersion " BUILD_PREREQUIRES=" - cmd:make cmd:zip " @@ -35,18 +34,16 @@ SOURCE_DIR="youtube-dl" BUILD() { - true -} - -INSTALL() -{ zip -q youtube-dl youtube_dl/*.py youtube_dl/*/*.py zip -q -j youtube-dl youtube_dl/__main__.py echo '#!/bin/python' > youtube-dl cat youtube-dl.zip >> youtube-dl rm youtube-dl.zip chmod a+x youtube-dl - +} + +INSTALL() +{ mkdir -p $binDir $manDir/man1 cp -a youtube-dl $binDir cp -a youtube-dl.1 $manDir/man1